From a44f2b562ccdf382471e2eaf708326a33722a625 Mon Sep 17 00:00:00 2001 From: ftwbzhao Date: Thu, 2 Jul 2015 14:21:54 +0800 Subject: sqlite < 3.3 unsuported `_drop_table_if` --- system/database/drivers/pdo/subdrivers/pdo_sqlite_forge.php | 1 + 1 file changed, 1 insertion(+) (limited to 'system/database/drivers/pdo/subdrivers') 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; } } -- cgit v1.2.3-24-g4f1b