[Koha-bugs] [Bug 7872] C4::Items GetItemsInfo marc_subfield_structure SQL queries fetch all results and use first row

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 5 15:24:02 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7872

--- Comment #6 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to comment #5)

> LIMIT 1 is not needed since adding framework to WHERE always returns single
> row and it's more correct.

Why more correct ? I don't understand.
For me, LIMIT 1 should be used if we want only a unique row. I think it can
increase performance (I agree with you, it is negligible).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list