[dw-free] Install fails because of incomplete replacement of "ENGINE" for "TYPE"
[commit: http://hg.dwscoalition.org/dw-free/rev/349aa212b97e]
http://bugs.dwscoalition.org/show_bug.cgi?id=4191
Complete the TYPE-to-ENGINE replacement
Patch by
sophie.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=4191
Complete the TYPE-to-ENGINE replacement
Patch by
Files modified:
- bin/upgrading/update-db.pl
--------------------------------------------------------------------------------
diff -r b4050b0ef1cc -r 349aa212b97e bin/upgrading/update-db.pl
--- a/bin/upgrading/update-db.pl Fri Jan 06 18:03:43 2012 +0800
+++ b/bin/upgrading/update-db.pl Fri Jan 06 18:11:45 2012 +0800
@@ -785,7 +785,7 @@
return if $cluster && ! defined $clustered_table{$table};
my $create_sql = $table_create{$table};
- if ($opt_innodb && $create_sql !~ /type=myisam/i) {
+ if ($opt_innodb && $create_sql !~ /engine=myisam/i) {
$create_sql .= " ENGINE=INNODB";
}
do_sql($create_sql);
--------------------------------------------------------------------------------
