mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
language additions
some small fixes git-svn-id: file:///svn/phpbb/trunk@4893 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -345,6 +345,16 @@ class sql_db
|
||||
$query_id = $this->query_result;
|
||||
}
|
||||
|
||||
if ($query_id)
|
||||
{
|
||||
// If it is not found within the open queries, we try to free a cached result. ;)
|
||||
if (!(array_search($query_id, $this->open_queries) > 0))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
unset($this->open_queries[array_search($query_id, $this->open_queries)]);
|
||||
}
|
||||
|
||||
return ($query_id) ? @mysql_free_result($query_id) : false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user