mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Updated MySQLDatabase::indexList() to return index columns escaped by double quotes
This commit is contained in:
parent
80941ef658
commit
a1e7c1f9bf
@ -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']) . '")';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user