irm-1.6-b3/MDB/ibase.php
/**
     * Free the internal resources associated with $result.
     *
     * @param $result result identifier
     * @return boolean TRUE on success, FALSE if $result is invalid
     * @access public
     */
Free the internal resources associated with $result.
@param $result result identifier
@return boolean TRUE on success, FALSE if $result is invalid
@access public
Free the internal resources associated with $result . @param $result result identifier @return boolean TRUE on success FALSE if $result is invalid @access public
function freeResult($result)
    {
        $result_value = intval($result);
        if (!isset($this->current_row[$result_value])) {
           return($this->raiseError(MDB_ERROR, NULL, NULL,
               'Free result: attemped to free an unknown query result'));
        }
        if (isset($this->highest_fetched_row[$result_value])) {
            unset($this->highest_fetched_row[$result_value]);
        }
        if (isset($this->row_buffer[$result_value])) {
            unset($this->row_buffer[$result_value]);
        }
        if (isset($this->limits[$result_value])) {
            unset($this->limits[$result_value]);
        }
        if (isset($this->current_row[$result_value])) {
            unset($this->current_row[$result_value]);
        }
        if (isset($this->results[$result_value])) {
            unset($this->results[$result_value]);
        }
        if (isset($this->columns[$result_value])) {
            unset($this->columns[$result_value]);
        }
        if (isset($this->rows[$result_value])) {
            unset($this->rows[$result_value]);
        }
        if (isset($this->result_types[$result_value])) {
            unset($this->result_types[$result_value]);
        }
        if (is_resource($result)) {
            return @ibase_free_result($result);
        }
        return true;
    }
function freeResult ( $ result ) { $ result_value = intval ( $ result ) ; if ( ! isset ( $ this -> current_row [ $ result_value ] ) ) { return ( $ this -> raiseError ( MDB_ERROR , NULL , NULL , 'Free result: attemped to free an unknown query result' ) ) ; } if ( isset ( $ this -> highest_fetched_row [ $ result_value ] ) ) { unset ( $ this -> highest_fetched_row [ $ result_value ] ) ; } if ( isset ( $ this -> row_buffer [ $ result_value ] ) ) { unset ( $ this -> row_buffer [ $ result_value ] ) ; } if ( isset ( $ this -> limits [ $ result_value ] ) ) { unset ( $ this -> limits [ $ result_value ] ) ; } if ( isset ( $ this -> current_row [ $ result_value ] ) ) { unset ( $ this -> current_row [ $ result_value ] ) ; } if ( isset ( $ this -> results [ $ result_value ] ) ) { unset ( $ this -> results [ $ result_value ] ) ; } if ( isset ( $ this -> columns [ $ result_value ] ) ) { unset ( $ this -> columns [ $ result_value ] ) ; } if ( isset ( $ this -> rows [ $ result_value ] ) ) { unset ( $ this -> rows [ $ result_value ] ) ; } if ( isset ( $ this -> result_types [ $ result_value ] ) ) { unset ( $ this -> result_types [ $ result_value ] ) ; } if ( is_resource ( $ result ) ) { return @ ibase_free_result ( $ result ) ; } return true ; }
Free the internal resources associated with $result.
Free the internal resources associated with $result .