Koha-clms/installer/data/mysql
Jonathan Druart 76b797bb5f Bug 22919: Fix insert of authorities_normal_marc21.sql with strict SQL modes
If strict SQL modes are set, the insert of authorities_normal_marc21.sql
will fail.

Test plan:
DELETE FROM auth_subfield_structure;
DELETE FROM auth_tag_structure;
DELETE FROM auth_types;
SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
source /home/vagrant/kohaclone/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql

You should not see any errors.
Without this patch you see:
ERROR 1366 (22007) at line 280 in file:
'/home/vagrant/kohaclone/installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql':
Incorrect integer value: ' for column 'linkid' at row 148
'

Signed-off-by: nabila <lovenabila@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 703ec1e2f2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit e69744172a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2019-06-12 22:17:11 +00:00
..
atomicupdate Bug 22899: DBRev 18.11.05.001 2019-05-24 14:40:40 +01:00
de-DE Bug 21651: (QA follow-up) Remove remaining obsolete file from German web installer 2019-05-30 20:24:18 +01:00
en Bug 22919: Fix insert of authorities_normal_marc21.sql with strict SQL modes 2019-06-12 22:17:11 +00:00
es-ES Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
fr-CA Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
fr-FR Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
it-IT Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
mandatory Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
nb-NO Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
pl-PL Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
ru-RU Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
uk-UA Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-30 20:22:44 +01:00
account_offset_types.sql Bug 20997: (QA follow-up) POD fixes and offset type consistency 2018-08-10 12:30:36 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-11 13:51:12 +00:00
fix_unclosed_nonaccruing_fines_bug17135.pl Bug 17135: [QA Follow-up] Changes as to reporting 2016-09-16 10:47:03 +00:00
kohastructure.sql Bug 22899: Database update 2019-05-24 14:29:58 +01:00
labels_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-11 13:51:12 +00:00
patroncards_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-11 13:51:12 +00:00
sysprefs.sql Bug 22044: Fix sysprefs.sql description to use circ column description 2019-04-26 12:53:47 +01:00
update22to30.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-11 13:51:12 +00:00
updatedatabase.pl Increment version for 18.11.06 release 2019-05-31 07:51:09 +01:00
userflags.sql Bug 11897: Add mising semi-colon to user*.sql 2018-10-09 17:19:00 +00:00
userpermissions.sql Bug 21961: Fix typo in manage_didyoumean permission 2018-12-12 10:57:09 +00:00