summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-02 10:33:02 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-02 10:33:02 +0200
commit40780c27c6e78d303b34fab7ae8e420cf28e704a (patch)
treeab9d33a3910d8bd19a59b00dbb69fe15b6311f17 /system
parent4d28aee95704ce4e4dd8aef83e20b66b07cc3734 (diff)
Apply PR #3940 to sqlite3 driver and fix a wrong var name
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/sqlite3/sqlite3_forge.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_forge.php b/system/database/drivers/sqlite3/sqlite3_forge.php
index 69f65b6f3..24690ba20 100644
--- a/system/database/drivers/sqlite3/sqlite3_forge.php
+++ b/system/database/drivers/sqlite3/sqlite3_forge.php
@@ -74,7 +74,8 @@ class CI_DB_sqlite3_forge extends CI_DB_forge {
if (version_compare($this->db->version(), '3.3', '<'))
{
- $this->create_table_if = FALSE;
+ $this->_create_table_if = FALSE;
+ $this->_drop_table_if = FALSE;
}
}