diff options
author | admin <devnull@localhost> | 2006-10-05 06:34:38 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-05 06:34:38 +0200 |
commit | d2dd03143d9e47a36a2f8561160e278a358fa031 (patch) | |
tree | 04b459b59fbf1b122be82e24ac5cb7d36f6bae54 /system/database/drivers/mysqli/mysqli_result.php | |
parent | 5ffba1e7b3583ab5f3061fb77ae90fd1619af967 (diff) |
Diffstat (limited to 'system/database/drivers/mysqli/mysqli_result.php')
-rw-r--r-- | system/database/drivers/mysqli/mysqli_result.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/database/drivers/mysqli/mysqli_result.php b/system/database/drivers/mysqli/mysqli_result.php index 2eca68ff5..08db13f10 100644 --- a/system/database/drivers/mysqli/mysqli_result.php +++ b/system/database/drivers/mysqli/mysqli_result.php @@ -118,6 +118,23 @@ class CI_DB_mysqli_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 + * + * @access private + * @return array + */ + function _data_seek($n = 0) + { + mysqli_data_seek($this->result_id, $n); + } + + // -------------------------------------------------------------------- + + /** * Result - associative array * * Returns the result set as an array |