BUGFIX Accepting 'index' as valid key in MySQLDatabase->createIndex() (same as PostgreSQLDatabase)

This commit is contained in:
Ingo Schommer 2010-11-30 19:25:16 +13:00
parent 8fd309a5ea
commit 32548a9b3b

View File

@ -391,6 +391,7 @@ class MySQLDatabase extends SS_Database {
$indexSpec='unique (' . $indexSpec['value'] . ')';
break;
case 'btree':
case 'index':
$indexSpec='using btree (' . $indexSpec['value'] . ')';
break;
case 'hash':