From 01be06ffa2d9f9e36cffab160635ca2ef61ccf1b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 7 Sep 2017 16:18:00 -0300 Subject: [PATCH] Bug 13912: (QA followup) Update database Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/atomicupdate/bug_13912.perl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_13912.perl diff --git a/installer/data/mysql/atomicupdate/bug_13912.perl b/installer/data/mysql/atomicupdate/bug_13912.perl new file mode 100644 index 0000000000..5d062a61bf --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_13912.perl @@ -0,0 +1,11 @@ +$DBversion = 'XXX'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) + VALUES ( + 'DefaultCountryField008','','', + 'Fill in the default country code for field 008 Range 15-17 - Place of publication, production, or execution. See MARC Code List for Countries','Free') + }); + SetVersion($DBversion); + print "Upgrade to $DBversion done (Bug 13912: System preference for default place of publication (country code) for field 008, range 15-17)\n"; +} -- 2.14.1