summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorftwbzhao <b.zhao1@gmail.com>2015-07-02 08:21:54 +0200
committerftwbzhao <b.zhao1@gmail.com>2015-07-02 08:21:54 +0200
commita44f2b562ccdf382471e2eaf708326a33722a625 (patch)
treeedce6120b4af9d2c61afa4d42cfe0612185ed885 /system/database/drivers
parent8162c56397b469152ddab68e91e5514f6f8fa5e5 (diff)
sqlite < 3.3 unsuported `_drop_table_if`
Diffstat (limited to 'system/database/drivers')
-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;
}
}