1
0
Fork 0

Merge pull request #8029 from MrPetovan/bug/fatal-errors

Fix capitalization of table definition key in DBStructure
This commit is contained in:
Tobias Diekershoff 2019-12-29 08:42:34 +01:00 committed by GitHub
commit ff21b8acfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ class DBStructure
}
foreach ($tables AS $table) {
$sql = "ALTER TABLE " . DBA::quoteIdentifier($table['TABLE_NAME']) . " engine=InnoDB;";
$sql = "ALTER TABLE " . DBA::quoteIdentifier($table['table_name']) . " engine=InnoDB;";
echo $sql . "\n";
$result = DBA::e($sql);