Update query for fetching innodb_file_format

Signed-off-by: Guido Selva guido.selva@gmail.com
This commit is contained in:
GS 2026-03-31 19:09:50 +02:00 committed by GitHub
parent bcea844b90
commit 0bbe314061
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -295,7 +295,7 @@ class Innodb extends StorageEngine
return (
($dbi->isMariaDB() && $dbi->getVersion() >= 100600)
|| ($dbi->isMySql() && $dbi->getVersion() >= 80000)
) ? '' : $dbi->fetchValue("SELECT @@innodb_file_format;");
) ? '' : $dbi->fetchValue("SHOW GLOBAL VARIABLES LIKE 'innodb_file_format';");
}
/**