Quote tables that are being converted.
This commit is contained in:
parent
0b144dd89c
commit
3167e24736
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ my $get_table = session->db->table_info('', '', '%', 'TABLE');
|
||||||
|
|
||||||
TABLE: while ( my $table = $get_table->fetchrow_hashref() ) {
|
TABLE: while ( my $table = $get_table->fetchrow_hashref() ) {
|
||||||
next TABLE if $table->{TABLE_NAME} eq 'assetIndex';
|
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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue