aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/firebird.php
diff options
context:
space:
mode:
authorPatrick Webster <noxwizard@phpbb.com>2012-05-08 19:41:22 -0500
committerPatrick Webster <noxwizard@phpbb.com>2012-05-08 19:41:22 -0500
commit09d49fb7b2be51a29f5a03c0a1a3816d7e55a466 (patch)
treedad98e4d4eeb68c795a3776614173f26daa5ef62 /phpBB/includes/db/firebird.php
parentafbaa6979b62acb16fa09247ec4613d5d7d683fa (diff)
downloadforums-09d49fb7b2be51a29f5a03c0a1a3816d7e55a466.tar
forums-09d49fb7b2be51a29f5a03c0a1a3816d7e55a466.tar.gz
forums-09d49fb7b2be51a29f5a03c0a1a3816d7e55a466.tar.bz2
forums-09d49fb7b2be51a29f5a03c0a1a3816d7e55a466.tar.xz
forums-09d49fb7b2be51a29f5a03c0a1a3816d7e55a466.zip
[ticket/10858] Move generic row seeking to DBAL
Removed from: firebird, mssql_odbc, and mssqlnative PHPBB3-10858
Diffstat (limited to 'phpBB/includes/db/firebird.php')
-rw-r--r--phpBB/includes/db/firebird.php43
1 files changed, 0 insertions, 43 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php
index 7e3f15ed1d..7072c58ac0 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -360,49 +360,6 @@ class dbal_firebird extends dbal
}
/**
- * Seek to given row number
- * rownum is zero-based
- */
- function sql_rowseek($rownum, &$query_id)
- {
- global $cache;
-
- if ($query_id === false)
- {
- $query_id = $this->query_result;
- }
-
- if (isset($cache->sql_rowset[$query_id]))
- {
- return $cache->sql_rowseek($rownum, $query_id);
- }
-
- if ($query_id === false)
- {
- return;
- }
-
- $this->sql_freeresult($query_id);
- $query_id = $this->sql_query($this->last_query_text);
-
- if ($query_id === false)
- {
- return false;
- }
-
- // We do not fetch the row for rownum == 0 because then the next resultset would be the second row
- for ($i = 0; $i < $rownum; $i++)
- {
- if (!$this->sql_fetchrow($query_id))
- {
- return false;
- }
- }
-
- return true;
- }
-
- /**
* Get last inserted id after insert statement
*/
function sql_nextid()