diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-26 11:12:47 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-26 11:12:47 +0200 |
commit | 16be2c2489535c79b38688413df26f95adbe0ea3 (patch) | |
tree | 976a301fff227aa69e89661788e3e04a6390878a /system/database/drivers/sqlite | |
parent | 817164d822ce5dc1159ddc3e8fad2fa094dfc5ea (diff) | |
parent | 830f5af4bac8da4b6f9392334348bc9e33b09240 (diff) |
Merge upstream branch
Diffstat (limited to 'system/database/drivers/sqlite')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_driver.php | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php index ffc57e72a..c8cf35e7f 100644 --- a/system/database/drivers/sqlite/sqlite_driver.php +++ b/system/database/drivers/sqlite/sqlite_driver.php @@ -106,21 +106,6 @@ class CI_DB_sqlite_driver extends CI_DB { // -------------------------------------------------------------------- /** - * Reconnect - * - * Keep / reestablish the db connection if no queries have been - * sent for a length of time exceeding the server's idle timeout - * - * @return void - */ - public function reconnect() - { - // Not supported in SQLite - } - - // -------------------------------------------------------------------- - - /** * Select the database * * @return bool @@ -248,8 +233,8 @@ class CI_DB_sqlite_driver extends CI_DB { // escape LIKE condition wildcards if ($like === TRUE) { - return str_replace(array('%', '_', $this->_like_escape_chr), - array($this->_like_escape_chr.'%', $this->_like_escape_chr.'_', $this->_like_escape_chr.$this->_like_escape_chr), + return str_replace(array($this->_like_escape_chr, '%', '_'), + array($this->_like_escape_chr.$this->_like_escape_chr, $this->_like_escape_chr.'%', $this->_like_escape_chr.'_'), $str); } |