summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-12-18 22:59:02 +0100
committerAndrey Andreev <narf@devilix.net>2013-12-18 22:59:02 +0100
commitcfde6f2397bd598a9eaa5a142a06da06770de751 (patch)
tree713bb7d3d398422cc254a8b4e6e23741c0eda736 /system
parent25a246c2bf184f968c2d895de1653319eaa081aa (diff)
parent18c2e0c7d75ae91d0223bccf41d07e5a42626cd4 (diff)
Merge pull request #2777 from mjnaderi/develop
Cleanup DB_forge _process_indexes
Diffstat (limited to 'system')
-rw-r--r--system/database/DB_forge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php
index 92806d305..bec8d5554 100644
--- a/system/database/DB_forge.php
+++ b/system/database/DB_forge.php
@@ -1009,7 +1009,7 @@ abstract class CI_DB_forge {
is_array($this->keys[$i]) OR $this->keys[$i] = array($this->keys[$i]);
$sqls[] = 'CREATE INDEX '.$this->db->escape_identifiers(implode('_', $this->keys[$i]))
- .' ON '.$this->db->escape_identifiers($table)
+ .' ON '.$table
.' ('.implode(', ', $this->db->escape_identifiers($this->keys[$i])).');';
}