Bug 13669: Re-adds error handling to load_sql
commit080f5a6b8ed1c958983bd8f528bda4b32cc76ebf
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Fri, 20 May 2016 17:26:14 +0000 (20 14:26 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 May 2016 16:47:32 +0000 (23 16:47 +0000)
tree1aab5fea99c8047961be1b56a9855418d7f458b5
parente64f01ce0d6b3ff127a23070aa82427b69d89263
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>
C4/Installer.pm