Koha-clms/installer/data/mysql
Jonathan Druart 4ccdb714ec
Bug 38394: Remove existing try/catch and say_failure from DB revs
On bug 37895 we have failed to propose a solution to encapsulate exceptions and rethrow them.

Until this is ready we should not try/catch and so use say_failure from our DB revs.

We want to stop the DB update process when something is wrong. In those
try/catch we are actually continuing even if something bad happens.

As RaiseError is set on the dbh, say_failure statements will never be
reached.

Test plan:
checkout origin/24.05.0
reset_all
checkout main + this patch
updatedatabase

Everything should run fine.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-11-07 16:29:20 +01:00
..
atomicupdate Bug 38394: Remove existing try/catch and say_failure from DB revs 2024-11-07 16:29:20 +01:00
db_revs Bug 38394: Remove existing try/catch and say_failure from DB revs 2024-11-07 16:29:20 +01:00
en Bug 35659: (QA follow-up) Fix capitalisation in notice 2024-10-28 14:01:35 +01:00
localization Bug 27490: (follow-up) Fix custom installer files 2024-09-13 13:54:26 +02:00
mandatory Bug 33462: Add new system preference to sysprefs.sql 2024-11-01 09:34:38 -03:00
backfill_statistics.pl
…
fix_unclosed_nonaccruing_fines_bug17135.pl
…
kohastructure.sql Bug 33462: (QA follow-up) Fix sequence of columns for categories table in kohastructure.sql 2024-10-31 13:23:43 +01:00
labels_upgrade.pl
…
needs_update.pl Bug 34088: Move the 'needs update' test to a separate script 2024-09-17 10:48:39 +02:00
patroncards_upgrade.pl
…
update22to30.pl
…
updatedatabase.pl Bug 34088: Move the 'needs update' test to a separate script 2024-09-17 10:48:39 +02:00