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

Fix capitalization of table definition key in DBStructure
2022.09-rc
Tobias Diekershoff 2019-12-29 08:42:34 +01:00 zatwierdzone przez GitHub
commit ff21b8acfd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);