You are here

function DB_mysql::freeResult in Flickr API 5

Deletes the result set and frees the memory occupied by the result set

This method is not meant to be called directly. Use DB_result::free() instead. It can't be declared "protected" because DB_result is a separate object.

Parameters

resource $result PHP's query result resource:

Return value

bool TRUE on success, FALSE if $result is invalid

See also

DB_result::free()

File

phpFlickr/PEAR/DB/mysql.php, line 419

Class

DB_mysql
The methods PEAR DB uses to interact with PHP's mysql extension for interacting with MySQL databases

Code

function freeResult($result) {
  return @mysql_free_result($result);
}