BUGFIX: indexList() returns indexes escaped by double quotes

See a1e7c1f9b in framework for same commit related to MySQLDatabase.
This commit is contained in:
Ingo Schommer 2012-07-05 15:08:01 +02:00
parent 14601368b8
commit 5594036d0c

View File

@ -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;
}