- this should work... he says

git-svn-id: file:///svn/phpbb/trunk@5052 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2005-01-09 20:10:26 +00:00
parent e5ae182a38
commit 3de2acb3df

View file

@ -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
{