diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-03-12 08:26:40 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-03-12 08:26:40 +0100 |
commit | 20bd7bc3f9e3c370954a0abead4f87043b99e040 (patch) | |
tree | 254a9f95d69a7a63394d02cbf635dc6f89bae2ba | |
parent | 6f0fd79754d29e8f0dde8d3d385e8338eadce61e (diff) |
Fix _limit()
-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 6affb8745..ae0091cea 100644 --- a/system/database/drivers/sqlite3/sqlite3_driver.php +++ b/system/database/drivers/sqlite3/sqlite3_driver.php @@ -544,7 +544,7 @@ class CI_DB_sqlite3_driver extends CI_DB { */ protected function _limit($sql, $limit, $offset) { - return $sql.($offset ? $offset.',' : '').$limit; + return $sql.' LIMIT '.($offset ? $offset.',' : '').$limit; } // -------------------------------------------------------------------- |