summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-07-02 10:30:29 +0200
committerAndrey Andreev <narf@devilix.net>2015-07-02 10:30:29 +0200
commit4d28aee95704ce4e4dd8aef83e20b66b07cc3734 (patch)
treeedce6120b4af9d2c61afa4d42cfe0612185ed885 /system
parent8162c56397b469152ddab68e91e5514f6f8fa5e5 (diff)
parenta44f2b562ccdf382471e2eaf708326a33722a625 (diff)
Merge pull request #3940 from ftwbzhao/develop
SQLite < 3.3 doesn't support DROP TABLE IF
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_sqlite_forge.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_sqlite_forge.php b/system/database/drivers/pdo/subdrivers/pdo_sqlite_forge.php
index 28faaddb7..15afbdef5 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_sqlite_forge.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_sqlite_forge.php
@@ -89,6 +89,7 @@ class CI_DB_pdo_sqlite_forge extends CI_DB_pdo_forge {
if (version_compare($this->db->version(), '3.3', '<'))
{
$this->_create_table_if = FALSE;
+ $this->_drop_table_if = FALSE;
}
}