summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-24 02:08:48 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-24 02:08:48 +0200
commit7e53bc6326091fb4f1ed91c93e66a89f18be342f (patch)
treeb97476913fe36a352c434a364349a3a2a3d1321c /system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
parent1732b1b56e556d18cbba06dbf79935428c6848b3 (diff)
Remove _limit() from the pdo_mysql subdriver
Diffstat (limited to 'system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php b/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
index ea7e8300c..166f72ce0 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php
@@ -182,23 +182,6 @@ class CI_DB_pdo_mysql_driver extends CI_DB_pdo_driver {
.$index.' IN('.implode(',', $ids).')';
}
- // --------------------------------------------------------------------
-
- /**
- * 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;
- }
-
}
/* End of file pdo_mysql_driver.php */