Skip to content

Commit 3167e24

Browse files
committedDec 1, 2011
Quote tables that are being converted.
1 parent 0b144dd commit 3167e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎share/upgrades/7.10.23-8.0.0/zzzz_convertToInnoDb.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
TABLE: while ( my $table = $get_table->fetchrow_hashref() ) {
99
next TABLE if $table->{TABLE_NAME} eq 'assetIndex';
10-
session->db->write("ALTER TABLE ". $table->{TABLE_NAME}. " ENGINE=InnoDB");
10+
session->db->write("ALTER TABLE ". dbh->quote_identifier($table->{TABLE_NAME}). " ENGINE=InnoDB");
1111
}
1212

1313

0 commit comments

Comments
 (0)
Please sign in to comment.