From a52a234890e61a49a927324ccaea6f12f7dcf35f Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 24 Jun 2021 06:20:23 +0000 Subject: [PATCH] Bug 27981: (QA follow-up) Adjust atomic update Content-Type: text/plain; charset=utf-8 [1] Insert ignore. [2] Remove references to bug 9921. Signed-off-by: Marcel de Rooy --- installer/data/mysql/atomicupdate/bug_27981.perl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_27981.perl diff --git a/installer/data/mysql/atomicupdate/bug_27981.perl b/installer/data/mysql/atomicupdate/bug_27981.perl new file mode 100644 index 0000000000..db7c36ff70 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_27981.perl @@ -0,0 +1,9 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do( + q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('autoControlNumber','OFF','biblionumber|OFF', + 'Used to autogenerate a Control Number: biblionumber will be as biblionumber; OFF will leave it as is','Choice');} + ); + + NewVersion( $DBversion, 27981, "Make it possible to force 001 = biblionumber"); +} -- 2.20.1