mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix: Change SQL query so that it is ansi safe
Signed-off-by: Johan Bernhardsson <johan.bernhardsson@redpill-linpro.com>
This commit is contained in:
parent
6e52b55555
commit
ddebea24c2
1 changed files with 3 additions and 3 deletions
|
|
@ -56,11 +56,11 @@ class MysqlRowFormat implements ISetupCheck {
|
|||
* @return string[]
|
||||
*/
|
||||
private function getRowNotDynamicTables(): array {
|
||||
$sql = 'SELECT table_name
|
||||
$sql = "SELECT table_name
|
||||
FROM information_schema.tables
|
||||
WHERE table_schema = ?
|
||||
AND table_name LIKE "*PREFIX*%"
|
||||
AND row_format != "Dynamic";';
|
||||
AND table_name LIKE '*PREFIX*%'
|
||||
AND row_format != 'Dynamic';";
|
||||
|
||||
return $this->connection->executeQuery(
|
||||
$sql,
|
||||
|
|
|
|||
Loading…
Reference in a new issue