Koha-clms/installer/data/mysql
Benjamin Rokseth 4b59bc4e2b 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: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-02-24 11:25:54 -03:00
..
atomicupdate Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
de-DE Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03:00
en Bug 13417: (qa follow-up) Rename the permission to delete_public_lists 2015-02-13 13:52:18 -03:00
es-ES Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03:00
fr-FR Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03:00
it-IT Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03:00
mandatory Bug 12250: Update descriptions for languages, scripts and regions 2014-11-07 15:18:01 -03:00
nb-NO Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03:00
pl-PL Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03:00
ru-RU Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03:00
uk-UA Bug 13417: Add the permission for all languages 2015-02-13 13:52:20 -03: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-02-24 11:25:54 -03: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 - 5511 [Followup]: QA Fixes 2015-02-09 17:00:09 -03: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-02-24 11:25:54 -03:00