Bug 15533 - DBRev - Change INSERT to INSERT IGNORE for new syspref
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 14:13:10 +0000 (14:13 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2016 14:13:10 +0000 (14:13 +0000)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
installer/data/mysql/updatedatabase.pl

index dc65d2e..6ef3793 100755 (executable)
@@ -12463,7 +12463,7 @@ if ( CheckVersion($DBversion) ) {
     });
 
     $dbh->do(q{
-        INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
+        INSERT INGORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
         ('AllowHoldItemTypeSelection','0','','If enabled, patrons and staff will be able to select the itemtype when placing a hold','YesNo');
     });