[Koha-bugs] [Bug 10685] Inappropriate uses of finish() in C4::Accounts.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 5 16:07:27 CEST 2013


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

--- Comment #1 from kenza <kenza.zaki at biblibre.com> ---
Created attachment 20110
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20110&action=edit
Bug 10685: Inappropriate uses of finish in C4::Accounts.pm

This patch gets rid of finish.

>From the man page

finish()
Indicate that no more data will be fetched from this statement handle
before it is either executed again or destroyed.
You almost certainly do not need to call this method.

Adding calls to "finish" after loop that fetches all rows is a common
mistake, don't do it, it can mask genuine problems like uncaught fetch errors.

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


More information about the Koha-bugs mailing list