diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-12 13:30:05 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-12 13:30:05 +0200 |
commit | 8f3566fffcb9015ba53dbf52922fc5724ffa6045 (patch) | |
tree | 5398718eb3e03534bc0364cd46634713087eceec /system/database/drivers/pdo | |
parent | 918be7963f6fa3461d612ea7ca4c9774c12f9da5 (diff) |
Changed default CI_DB_result::_data_seek() return value to FALSE and removed the method from drivers that don't support it
Diffstat (limited to 'system/database/drivers/pdo')
-rw-r--r-- | system/database/drivers/pdo/pdo_result.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/system/database/drivers/pdo/pdo_result.php b/system/database/drivers/pdo/pdo_result.php index 5bbd85d75..19aee1dfc 100644 --- a/system/database/drivers/pdo/pdo_result.php +++ b/system/database/drivers/pdo/pdo_result.php @@ -92,7 +92,6 @@ class CI_DB_pdo_result extends CI_DB_result { $res_handler = 'result_'.$type; $this->$res_handler = array(); - $this->_data_seek(0); while ($row = $this->$res_method()) { @@ -228,22 +227,6 @@ class CI_DB_pdo_result extends CI_DB_result { // -------------------------------------------------------------------- /** - * Data Seek - * - * Moves the internal pointer to the desired offset. We call - * this internally before fetching results to make sure the - * result set starts at zero - * - * @return bool - */ - protected function _data_seek($n = 0) - { - return FALSE; - } - - // -------------------------------------------------------------------- - - /** * Result - associative array * * Returns the result set as an array |