Skip to content

Commit 299a62b

Browse files
Merge pull request #51069 from small1/fixsetupchecksrowformat
Fix SQL query so that it is ansi safe fixing #51067
2 parents c7900de + c39741f commit 299a62b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/settings/lib/SetupChecks/MysqlRowFormat.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ public function run(): SetupResult {
5656
* @return string[]
5757
*/
5858
private function getRowNotDynamicTables(): array {
59-
$sql = 'SELECT table_name
59+
$sql = "SELECT table_name
6060
FROM information_schema.tables
6161
WHERE table_schema = ?
62-
AND table_name LIKE "*PREFIX*%"
63-
AND row_format != "Dynamic";';
62+
AND table_name LIKE '*PREFIX*%'
63+
AND row_format != 'Dynamic';";
6464

6565
return $this->connection->executeQuery(
6666
$sql,

0 commit comments

Comments
 (0)