Koha/installer
Jonathan Druart f73ed6655d Bug 34684: Prevent 220600007.pl to fail if run twice
The error is
  ERROR 1292 (22007): Truncated incorrect DECIMAL value: 'no'

Happens on MariaDB 10.5.22, not MySQL 8

Test plan:
update systempreferences set value="0" where variable="DisplayClearScreenButton";
play installer/data/mysql/db_revs/220600007.pl
select value from systempreferences where variable="DisplayClearScreenButton";
=> "no"

update systempreferences set value="1" where variable="DisplayClearScreenButton";
play installer/data/mysql/db_revs/220600007.pl
select value from systempreferences where variable="DisplayClearScreenButton";
=> "issueslip"

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 027e1e1862)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-09-08 09:24:29 -10:00
..
data/mysql Bug 34684: Prevent 220600007.pl to fail if run twice 2023-09-08 09:24:29 -10:00
externalmodules.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
install.pl Bug 33720: Also flush in install 2023-07-17 15:50:30 +01:00
onboarding.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00