BUGFIX: Updated MySQLDatabase::indexList() to return index columns escaped by double quotes

This commit is contained in:
Sam Minnee 2012-06-15 13:25:50 +12:00
parent 80941ef658
commit a1e7c1f9bf

View File

@ -526,7 +526,7 @@ class MySQLDatabase extends SS_Database {
if($groupedIndexes) {
foreach($groupedIndexes as $index => $details) {
ksort($details['fields']);
$indexList[$index] = $details['type'] . '(' . implode(',',$details['fields']) . ')';
$indexList[$index] = $details['type'] . '("' . implode('","',$details['fields']) . '")';
}
}