[Koha-bugs] [Bug 7785] MySQL-specific syntax in C4::Members columns()
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 9 16:05:55 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7785
--- Comment #10 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Hi Mark,
I don't understand the following:
+ my $sql;
+ if ( 'mysql,' =~ /$db/ ) {
+ $sql = 'SELECT * FROM borrowers LIMIT 1;';
+ }
+ else {
+ $sql = 'SELECT * FROM borrowers;';
+ }
Why don't you use the LIMIT 1 clause in all cases?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list