phpBB

Code Changes

File: phpbb/cache/driver/base.php

  Unmodified   Added   Modified   Removed
Line 123Line 123
	*/
function sql_fetchrow($query_id)
{

	*/
function sql_fetchrow($query_id)
{

		if ($this->sql_row_pointer[$query_id] < sizeof($this->sql_rowset[$query_id]))

		if ($this->sql_row_pointer[$query_id] < count($this->sql_rowset[$query_id]))

		{
return $this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]++];
}

		{
return $this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]++];
}

Line 136Line 136
	*/
function sql_fetchfield($query_id, $field)
{

	*/
function sql_fetchfield($query_id, $field)
{

		if ($this->sql_row_pointer[$query_id] < sizeof($this->sql_rowset[$query_id]))

		if ($this->sql_row_pointer[$query_id] < count($this->sql_rowset[$query_id]))

		{
return (isset($this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]][$field])) ? $this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]++][$field] : false;
}

		{
return (isset($this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]][$field])) ? $this->sql_rowset[$query_id][$this->sql_row_pointer[$query_id]++][$field] : false;
}

Line 149Line 149
	*/
function sql_rowseek($rownum, $query_id)
{

	*/
function sql_rowseek($rownum, $query_id)
{

		if ($rownum >= sizeof($this->sql_rowset[$query_id]))

		if ($rownum >= count($this->sql_rowset[$query_id]))

		{
return false;
}

		{
return false;
}