diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-18 12:23:24 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-18 12:23:24 +0200 |
commit | fad14b25148ca7202a036dc2b764feb0c8518838 (patch) | |
tree | 414e4b1aade1f075ebf5919368b78fedc0ff00f1 /system/database | |
parent | 6ac514484fffd9700c6ecc57cfa1b1fd105e37f6 (diff) |
Fix ODBC _limit()
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/odbc/odbc_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 222c311c0..5ebba7aeb 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php @@ -342,7 +342,7 @@ class CI_DB_odbc_driver extends CI_DB { */ protected function _limit($sql, $limit, $offset) { - return $sql.($offset == 0 ? '' : $offset.', ').$limit; + return $sql.' LIMIT '.($offset == 0 ? '' : $offset.', ').$limit; } // -------------------------------------------------------------------- |