summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlite3/sqlite3_result.php
diff options
context:
space:
mode:
authorbrian978 <dbrian89@yahoo.com>2012-12-09 10:20:01 +0100
committerbrian978 <dbrian89@yahoo.com>2012-12-09 10:20:01 +0100
commit2c70fec8c697caaea0ee74392847a6a6204eea01 (patch)
treef7ecd946cdf2c4f66997d1f0677061a34afc6d0e /system/database/drivers/sqlite3/sqlite3_result.php
parentd56eb54f0f7a058d9e1b253f8fb900680d6813e0 (diff)
parent545a7c86701875e1412bcde316e9bcc76d9a23a0 (diff)
Merge remote-tracking branch 'upstream/develop' into develop
Diffstat (limited to 'system/database/drivers/sqlite3/sqlite3_result.php')
-rw-r--r--system/database/drivers/sqlite3/sqlite3_result.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_result.php b/system/database/drivers/sqlite3/sqlite3_result.php
index 44fef8909..69c42002c 100644
--- a/system/database/drivers/sqlite3/sqlite3_result.php
+++ b/system/database/drivers/sqlite3/sqlite3_result.php
@@ -175,10 +175,10 @@ class CI_DB_sqlite3_result extends CI_DB_result {
* @param int $n (ignored)
* @return array
*/
- protected function _data_seek($n = 0)
+ public function data_seek($n = 0)
{
// Only resetting to the start of the result set is supported
- return $this->result_id->reset();
+ return ($n > 0) ? FALSE : $this->result_id->reset();
}
}