diff options
author | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 20:41:58 +0200 |
---|---|---|
committer | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 20:41:58 +0200 |
commit | 0c5180bcfc996f32176f28895e9bd75be582c4fa (patch) | |
tree | 469e01b389c126c9f1d7ae7a1772ab53e498f10b /system | |
parent | 1aece23434f16f43a297c7dd5c264754760bce00 (diff) |
Fixing final SQLite bug introduced in 48a2baf0e288accd206f5da5031d29076e130792
Diffstat (limited to 'system')
-rw-r--r-- | system/database/drivers/sqlite3/sqlite3_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_driver.php b/system/database/drivers/sqlite3/sqlite3_driver.php index ea7e6d43c..ea4cf2d4f 100644 --- a/system/database/drivers/sqlite3/sqlite3_driver.php +++ b/system/database/drivers/sqlite3/sqlite3_driver.php @@ -255,7 +255,7 @@ class CI_DB_sqlite3_driver extends CI_DB { protected function _list_tables($prefix_limit = FALSE) { return 'SELECT "NAME" FROM "SQLITE_MASTER" WHERE "TYPE" = \'table\'' - .(($prefix_limit !== FALSE && $this->dbprefix !== '') + .(($prefix_limit !== FALSE && $this->dbprefix != '') ? ' AND "NAME" LIKE \''.$this->escape_like_str($this->dbprefix).'%\' '.sprintf($this->_like_escape_str, $this->_like_escape_chr) : ''); } |