]> git.koha-community.org Git - koha.git/commit
Bug 13669: Re-adds error handling to load_sql
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 20 May 2016 17:26:14 +0000 (14:26 -0300)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 25 May 2016 08:05:17 +0000 (10:05 +0200)
commitb5035de9d6853fffe5ff84fa7091433072ec26ab
tree4d6c571a70a0ab5870a25462eb9708ed4b153a0f
parente8a703b076fde26dd626711bae5a459bfdf16bb1
Bug 13669: Re-adds error handling to load_sql

This patch prevents crashing in case an
error is detected when loading a file

To test:
1) Apply patch
2) Mangle kohastructure.sql or any sample
file adding and invalid SQL line
3) Run webinstaller and check that the error
is handled gracefully

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 080f5a6b8ed1c958983bd8f528bda4b32cc76ebf)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Installer.pm