diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-01-09 20:10:26 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-01-09 20:10:26 +0000 |
commit | 3de2acb3dff88b486b2b495edb2db97e95fdbce3 (patch) | |
tree | c7a3ec14a7234e4e250092d54f1ba2415302fe80 /phpBB/includes/db/firebird.php | |
parent | e5ae182a38fb5ecf2157528d1b089943cb5de7e0 (diff) | |
download | forums-3de2acb3dff88b486b2b495edb2db97e95fdbce3.tar forums-3de2acb3dff88b486b2b495edb2db97e95fdbce3.tar.gz forums-3de2acb3dff88b486b2b495edb2db97e95fdbce3.tar.bz2 forums-3de2acb3dff88b486b2b495edb2db97e95fdbce3.tar.xz forums-3de2acb3dff88b486b2b495edb2db97e95fdbce3.zip |
- this should work... he says
git-svn-id: file:///svn/phpbb/trunk@5052 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/firebird.php')
-rw-r--r-- | phpBB/includes/db/firebird.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php index c745e5cb02..2b3bcb251b 100644 --- a/phpBB/includes/db/firebird.php +++ b/phpBB/includes/db/firebird.php @@ -293,9 +293,13 @@ class sql_db { if ($rownum > -1) { - // NOTE: Let's see how often we use this one and how fast we can produce a working query. ;D - // At the moment we are not taking advantage of this feature. - trigger_error('ROWNUM > 0 in sql_fetchfield not supported, please file a bug report.'); + // erm... ok, my bad, we always use zero. :/ + for ($i = 0; $i <= $rownum; $i++) + { + $row = $this->sql_fetchrow($query_id); + } + + return $row[$field]; } else { |