mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
BUGFIX: indexList() returns indexes escaped by double quotes
See a1e7c1f9b in framework for same commit related to MySQLDatabase.
This commit is contained in:
parent
14601368b8
commit
5594036d0c
@ -527,6 +527,7 @@ class SQLite3Database extends SS_Database {
|
||||
foreach(DB::query('PRAGMA index_info("' . $index["name"] . '")') as $details) $list[] = $details['name'];
|
||||
$indexList[$index["name"]] = implode(',', $list);
|
||||
}
|
||||
foreach($indexList as $name => $val) $indexList[$name] = "\"$val\"";
|
||||
|
||||
return $indexList;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user