Bug 8289 Upgrading from 2.2 does not work anymore
The updatedatabase22to30.pl script update the engine from MyISAM to InnoDB for most tables. However, the TYPE=InnoDB was deprecated, and is not removed. The correct syntax is now ENGINE=InnoDB Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
19d30206df
commit
866fc7653c
1 changed files with 1 additions and 1 deletions
|
@ -3022,7 +3022,7 @@ my $DBversion = "3.00.00.000";
|
|||
next if $table->{Name} eq 'auth_subfield_table';
|
||||
if ($table->{Engine} ne 'InnoDB') {
|
||||
print "moving $table->{Name} to InnoDB\n";
|
||||
$dbh->do("ALTER TABLE $table->{Name} TYPE = innodb");
|
||||
$dbh->do("ALTER TABLE $table->{Name} ENGINE = innodb");
|
||||
}
|
||||
unless ($table->{Collation} =~ /^utf8/) {
|
||||
print "moving $table->{Name} to utf8\n";
|
||||
|
|
Loading…
Reference in a new issue