[Koha-devel] [Koha-patches] [PATCH] BUG-2393: ENHANCEMENT: SearchMember() uses "cardnumber%" wildcard - if other search-types fail

Andrew Moore andrew.moore at liblime.com
Fri Jul 25 19:01:35 CEST 2008


(Note: moved to koha-devel from patches)

Hi Paul -

On Fri, Jul 25, 2008 at 1:57 AM, paul POULAIN <paul.poulain at biblibre.com> wrote:
> Please note that the SQL "LIMIT" pragma is mySQL specific. So it must be
> avoided.

Is this a guideline we should be currently following?

I'm not asking because i disagree with it, in fact I think it's an
admirable goal. I just hadn't seen it documented anywhere like the
developers' wiki, and I fear that I've probably been failing to abide
by it.

I think there are plenty of uses of "LIMIT" in the code, and if this
is something we're working towards, I'll start eliminating them in any
code I work on.

Thanks!
-Andy



More information about the Koha-devel mailing list