From 4d0e78085dec0ed7b48df86830d7cc25c9decd1f Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 8 Aug 2019 13:37:58 +0000 Subject: [PATCH] Bug 23416: (QA follow-up) Add IGNORE to updatedatabase SQL statement --- .../data/mysql/atomicupdate/Bug_23416_add_PreserveSerialNotes_pref.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/atomicupdate/Bug_23416_add_PreserveSerialNotes_pref.perl b/installer/data/mysql/atomicupdate/Bug_23416_add_PreserveSerialNotes_pref.perl index 751739f74f..96e321eb59 100644 --- a/installer/data/mysql/atomicupdate/Bug_23416_add_PreserveSerialNotes_pref.perl +++ b/installer/data/mysql/atomicupdate/Bug_23416_add_PreserveSerialNotes_pref.perl @@ -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'); |); -- 2.11.0