Bug 13712 - Missing newline in DB update 3.19.00.010
authorMagnus Enger <magnus@enger.priv.no>
Mon, 16 Feb 2015 09:50:17 +0000 (10:50 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 19 Feb 2015 12:48:22 +0000 (09:48 -0300)
To test:
- Make sure your database is pre 3.19.00.010 (for example by loading in
  an older backup)
- Run through the web-based database update (web installer, step 3)
- Verify that updates 3.19.00.010 and 3.19.00.011 are squashed
  together on one line
- Apply the patch
- Reset the database and run the web-based database upgrade again
- Verify that the two uupdates are noe displayed on separate lines
  (as separate bullet points)

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

installer/data/mysql/updatedatabase.pl

index ad8ec97..dc2554c 100755 (executable)
@@ -9755,7 +9755,7 @@ if ( CheckVersion($DBversion) ) {
 $DBversion = "3.19.00.010";
 if ( CheckVersion($DBversion) ) {
     $dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SessionRestrictionByIP','1','Check for Change in  Remote IP address for Session Security. Disable when remote ip address changes frequently.','','YesNo')");
-    print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)";
+    print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)\n";
     SetVersion ($DBversion);
 }