Koha-clms/installer/data/mysql
Benjamin Rokseth 4eaa86acff Bug 13523 - AddBiblio fails on mysql with STRICT_TRANS_TABLES
This patch removes the NOT NULL restriction on biblioitems.marcxml and
deletedbiblioitems.marcxml due to STRICT_TRANS_TABLES default in
Mysql 5.6.22 and onwards.

Test:

1. check mysql global settings:
   mysql > SELECT @@GLOBAL.sql_mode;
   verify that STRICT_TRANS_TABLES is not set
2. set STRICT_TRANS_TABLES (or upgrade mysql to > 5.6.21)
   mysql > SET @@GLOBAL.sql_mode = 'STRICT_TRANS_TABLES';
3. try to add biblio in Cataloguing module
   verify that it fails with a "software error"
4. apply patch
5. repeat 3 and verify that there is no "software error" any more

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
I confirm with the problem with mariadb and STRICT_TRANS_TABLES enabled.
On adding a biblio (C4::Biblio::AddBiblio), biblioitems is populate in
_koha_add_biblioitem but marxcml is not generated yet. It's in
ModBiblioMarc, few lines later.
The NOT NULL condition is not valid here.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
2015-03-26 14:27:39 +13:00
..
atomicupdate Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
de-DE Bug 12282: fix RESERVESLIP in German sample notices 2014-05-20 14:12:19 +00:00
en Bug 12275: Small corrections to English web installer 2014-05-19 22:13:06 +00:00
es-ES Bug 12251: fix error in sample_notices.sql (es-ES) 2014-05-16 02:45:21 +00:00
fr-FR Bug 11030 - Add 359, 947 and 969 fields in french unimarc_complete framework - followup 2014-07-23 21:18:18 +00:00
it-IT Bug 11954 - Clean up currency default files 2015-02-26 17:35:33 +13:00
nb-NO Bug 12209 - Fix currency symbol for NOK 2014-05-16 02:44:01 +00:00
pl-PL Bug 10845: Remove the notice code HOLD_PRINT in seed data 2014-05-02 20:29:19 +00:00
ru-RU Bug 11954 - Clean up currency default files 2015-02-26 17:35:33 +13:00
uk-UA Bug 11954 - Clean up currency default files 2015-02-26 17:35:33 +13:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 13523 - AddBiblio fails on mysql with STRICT_TRANS_TABLES 2015-03-26 14:27:39 +13:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sysprefs.sql Bug 11703 - Convert checkouts table to ajax datatable [3.16.x] 2014-08-15 00:10:49 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 13523 - AddBiblio fails on mysql with STRICT_TRANS_TABLES 2015-03-26 14:27:39 +13:00