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

Paul Poulain <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13459|0                           |1
        is obsolete|                            |

--- Comment #4 from Paul Poulain <[email protected]> ---
Created attachment 13547
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13547&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.

Signed-off-by: Jared Camins-Esakov <[email protected]>
The installer can now be run both with and without DEBUG set.

Signed-off-by: Paul Poulain <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to