From 923ed7d78e2c3a66af4bcffd7f2195e1ccda8755 Mon Sep 17 00:00:00 2001 From: Indranil Das Gupta Date: Wed, 24 Jun 2015 01:26:08 +0530 Subject: [PATCH] (qa followup) added missing IGNORE to INSERT added missing IGNORE to INSERT statement in updatedatabase.pl for compliance with Bug 9071 http://bugs.koha-community.org/show_bug.cgi?id=11674 --- installer/data/mysql/updatedatabase.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 6786d0b..f07cdba 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10641,7 +10641,7 @@ foreach my $file ( sort readdir $dirh ) { $DBversion = "3.21.00.XXX"; if ( CheckVersion($DBversion) ) { $dbh->do(" - INSERT INTO systempreferences (variable,value,options,explanation,type) + INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('MarcFieldDocURL', NULL, NULL, 'URL used for MARC field documentation. Following substitutions are available: {MARC} = marc flavour, eg. \"MARC21\" or \"UNIMARC\". {FIELD} = field number, eg. \"000\" or \"048\". {LANG} = user language, eg. \"en\" or \"fi-FI\"', 'free'); "); print "Upgrade to $DBversion done (Bug 11674: Configuration for MARC field doc URLs)\n"; -- 1.9.1