[Koha-bugs] [Bug 9085] Installer will not run with DEBUG set

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 14 21:41:11 CET 2012


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

--- Comment #1 from Chris Nighswonger <cnighswonger at foundations.edu> ---
Created attachment 13455
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13455&action=edit
Bug 9085 - Installer will not run with DEBUG set

This is due to raising all db errors combined with the fact that attempts
to make selections from a non-existent systempreferences table raises db
errors.

The installer should run even with DEBUG set, otherwise dropping and recreating
a development database becomes somewhat of a chore. This patch adds code to
check for the existence of the systempreferece table. If the table exists, then
RaiseError is enabled on the database handle. Otherwise it is disabled to allow
the installer to run without throwing an error.

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


More information about the Koha-bugs mailing list