Koha-clms/installer/data/mysql/atomicupdate
Marcel de Rooy bfb403dfb4 Bug 29138: (QA follow-up) Changes to UPDATE
Move the condition to the WHERE clause, using COALESCE to
prevent mysqlism (IFNULL) and strings for strict SQL.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested on NULL, 0, 1, 2, no, yes. (2 and yes become 0 too. Fine.)
Tested strict sql mode: no truncated incorrect DOUBLE value-error anymore.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-12 10:52:44 +02:00
..
Bug_29138.pl Bug 29138: (QA follow-up) Changes to UPDATE 2021-10-12 10:52:44 +02:00
README Bug 17356 - update README 2016-10-28 14:47:04 +00:00
skeleton.pl Bug 25078: Explicitely return from DB revs to avoid warnings 2021-08-18 12:59:35 +02:00

README

Please put your database revision files in this folder.
The Release Manager will remove them here when pushing your patches.

To use the skeleton .perl for your update:

% cp installer/data/mysql/atomicupdate/skeleton.perl
installer/data/mysql/atomicupdate/bug_XXXXX.perl

and put your modifications in where noted.