Bug 8995: Add IGNORE to the INSERT statement
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 28 Sep 2016 12:18:12 +0000 (13:18 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 29 Apr 2019 15:34:09 +0000 (15:34 +0000)
Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

installer/data/mysql/atomicupdate/8995_OpenURL_sysprefs.sql

index 2623472..ff70900 100644 (file)
@@ -1,4 +1,4 @@
-INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES
+INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES
   ('OpenURLResolverURL', '', 'URL of OpenURL Resolver', NULL, 'Free'),
   ('OpenURLText', '', 'Text of OpenURL links (or image title if OpenURLImageLocation is defined)', NULL, 'Free'),
   ('OpenURLImageLocation', '', 'Location of image for OpenURL links', NULL, 'Free'),