Koha-clms/installer
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
..
data/mysql Bug 29138: (QA follow-up) Changes to UPDATE 2021-10-12 10:52:44 +02:00
externalmodules.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
html-template-to-template-toolkit.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
install.pl Bug 25078: Don't process db revs if updatedatabase.pl failed 2021-08-16 11:55:56 +02:00
onboarding.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00