[Rt-commit] r12310 - in rt/branches/3.8-TESTING: etc/upgrade

ruz at bestpractical.com ruz at bestpractical.com
Wed May 14 12:13:20 EDT 2008


Author: ruz
Date: Wed May 14 12:13:20 2008
New Revision: 12310

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/etc/upgrade/schema.mysql-4.0-4.1.pl

Log:
 r12346 at cubic-pc:  cubic | 2008-05-14 16:06:15 +0400
 * each command must have trailing ';'


Modified: rt/branches/3.8-TESTING/etc/upgrade/schema.mysql-4.0-4.1.pl
==============================================================================
--- rt/branches/3.8-TESTING/etc/upgrade/schema.mysql-4.0-4.1.pl	(original)
+++ rt/branches/3.8-TESTING/etc/upgrade/schema.mysql-4.0-4.1.pl	Wed May 14 12:13:20 2008
@@ -217,7 +217,7 @@
 push @sql_commands, qq{ALTER DATABASE $db_name DEFAULT CHARACTER SET utf8};
 convert_table($_) foreach @tables;
 
-print join "\n", @sql_commands, "";
+print join "\n", map(/;$/? $_ : "$_;", @sql_commands), "";
 exit 0;
 
 sub convert_table {


More information about the Rt-commit mailing list