diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-24 02:05:26 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-24 02:05:26 +0200 |
commit | 2c35b64fc2b072ce873c56dde0f4bb1e5f404450 (patch) | |
tree | 516cc4bf32dba19eba93ce3be9770e414e957ae1 /system/database/drivers/odbc/odbc_driver.php | |
parent | 473130a226219dac6ef5c59b625b0e1361b292b3 (diff) |
Add a default _limit() method to the Query Builder class
Diffstat (limited to 'system/database/drivers/odbc/odbc_driver.php')
-rw-r--r-- | system/database/drivers/odbc/odbc_driver.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 5ebba7aeb..bd5759289 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php @@ -331,23 +331,6 @@ class CI_DB_odbc_driver extends CI_DB { // -------------------------------------------------------------------- /** - * Limit string - * - * Generates a platform-specific LIMIT clause - * - * @param string the sql query string - * @param int the number of rows to limit the query to - * @param int the offset value - * @return string - */ - protected function _limit($sql, $limit, $offset) - { - return $sql.' LIMIT '.($offset == 0 ? '' : $offset.', ').$limit; - } - - // -------------------------------------------------------------------- - - /** * Close DB Connection * * @return void |