Quote tables that are being converted.

This commit is contained in:
Colin Kuskie 2011-12-01 13:17:51 -08:00
parent 0b144dd89c
commit 3167e24736

View file

@ -7,7 +7,7 @@ my $get_table = session->db->table_info('', '', '%', 'TABLE');
TABLE: while ( my $table = $get_table->fetchrow_hashref() ) {
next TABLE if $table->{TABLE_NAME} eq 'assetIndex';
session->db->write("ALTER TABLE ". $table->{TABLE_NAME}. " ENGINE=InnoDB");
session->db->write("ALTER TABLE ". dbh->quote_identifier($table->{TABLE_NAME}). " ENGINE=InnoDB");
}