summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-11-11 12:58:53 +0100
committerAndrey Andreev <narf@bofh.bg>2012-11-11 12:58:53 +0100
commitb0a97c100f5e7edc5e21ec7d07f768cd3b5618da (patch)
tree3d494214e14beb8181ef6fc1e0269ccd0968577e /system/database/drivers/mysql
parent1f884d6fece302ba53f106516880da4dd91f5660 (diff)
Fix DBForge index creation on MySQL and CUBRID
Diffstat (limited to 'system/database/drivers/mysql')
-rw-r--r--system/database/drivers/mysql/mysql_forge.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/database/drivers/mysql/mysql_forge.php b/system/database/drivers/mysql/mysql_forge.php
index 9cee385df..d4a8b4ff7 100644
--- a/system/database/drivers/mysql/mysql_forge.php
+++ b/system/database/drivers/mysql/mysql_forge.php
@@ -43,6 +43,16 @@ class CI_DB_mysql_forge extends CI_DB_forge {
protected $_create_database = 'CREATE DATABASE %s CHARACTER SET %s COLLATE %s';
/**
+ * CREATE TABLE keys flag
+ *
+ * Whether table keys are created from within the
+ * CREATE TABLE statement.
+ *
+ * @var bool
+ */
+ protected $_create_table_keys = TRUE;
+
+ /**
* UNSIGNED support
*
* @var array