Bug 23416: (QA follow-up) Add IGNORE to updatedatabase SQL statement
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 8 Aug 2019 13:37:58 +0000 (13:37 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 12 Aug 2019 13:35:23 +0000 (14:35 +0100)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

installer/data/mysql/atomicupdate/Bug_23416_add_PreserveSerialNotes_pref.perl

index 751739f..96e321e 100644 (file)
@@ -1,7 +1,7 @@
 $DBversion = 'XXX';
 if( CheckVersion( $DBversion ) ) {
     $dbh->do(q|
-        INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
+        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
         ('PreserveSerialNotes','1','','When a new "Expected" issue is generated, should it be prefilled with last created issue notes?','YesNo');
     |);