Commit 814e53d0 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-572' into 2.4

parents 95614928 a3eae408
......@@ -369,7 +369,7 @@ class SqlitePlatform extends AbstractPlatform
{
$table = str_replace('.', '__', $table);
return "PRAGMA table_info($table)";
return "PRAGMA table_info('$table')";
}
/**
......@@ -379,7 +379,7 @@ class SqlitePlatform extends AbstractPlatform
{
$table = str_replace('.', '__', $table);
return "PRAGMA index_list($table)";
return "PRAGMA index_list('$table')";
}
/**
......@@ -452,7 +452,7 @@ class SqlitePlatform extends AbstractPlatform
{
$tableName = str_replace('.', '__', $tableName);
return 'DELETE FROM '.$tableName;
return 'DELETE FROM ' . $tableName;
}
/**
......@@ -685,7 +685,7 @@ class SqlitePlatform extends AbstractPlatform
{
$table = str_replace('.', '__', $table);
return "PRAGMA foreign_key_list($table)";
return "PRAGMA foreign_key_list('$table')";
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment