Koha/installer/data/mysql
Jonathan Druart 703ec1e2f2
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>
2019-06-06 15:24:57 +01:00
..
atomicupdate Bug 22960: DBRev 19.06.00.001 2019-06-04 10:07:15 +01:00
de-DE Bug 21651: (QA follow-up) Remove remaining obsolete file from German web installer 2019-05-15 15:47:15 +00:00
en Bug 22919: Fix insert of authorities_normal_marc21.sql with strict SQL modes 2019-06-06 15:24:57 +01:00
es-ES Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
fr-CA Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
fr-FR Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
it-IT Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
mandatory Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
nb-NO Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
pl-PL Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
ru-RU Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
uk-UA Bug 21651: Remove language specific sql file for notice templates related tables 2019-05-15 15:47:15 +00:00
account_offset_types.sql Bug 22521: (QA follow-up) Corrections to tests 2019-04-17 16:49:36 +00:00
audio_alerts.sql
backfill_statistics.pl Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +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-14 18:08:34 +00:00
labels_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
patroncards_upgrade.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
sysprefs.sql Bug 22960: (RM follow-up) Correct a further typo 2019-06-04 09:51:27 +01:00
update22to30.pl Bug 20000: Use Modern::Perl in installer scripts 2019-02-04 16:57:14 +00:00
updatedatabase.pl Bug 22960: DBRev 19.06.00.001 2019-06-04 10:07:15 +01:00
userflags.sql Bug 11897: Add mising semi-colon to user*.sql 2018-10-09 17:19:00 +00:00
userpermissions.sql Bug 21411: Address QA concerns 2019-05-10 18:59:39 +00:00