irm-1.6-b3/MDB/mssql.php
/**
     * all the RDBMS specific things needed close a DB connection
     *
     * @return boolean
     * @access private
     **/
all the RDBMS specific things needed close a DB connection
@return boolean
@access private
all the RDBMS specific things needed close a DB connection @return boolean @access private
function _close()
    {
        if ($this->connection != 0) {
            if (isset($this->supported['Transactions']) && !$this->auto_commit) {
                $result = $this->_doQuery("ROLLBACK TRANSACTION");
            }
            @mssql_close($this->connection);
            $this->connection = 0;
            $this->affected_rows = $this->current_row = -1;
            if (isset($result) && MDB::isError($result)) {
                return($result);
            }
            unset($GLOBALS['_MDB_databases'][$this->database]);
            return(TRUE);
        }
        return(FALSE);
    }
function _close ( ) { if ( $ this -> connection != 0 ) { if ( isset ( $ this -> supported [ 'Transactions' ] ) && ! $ this -> auto_commit ) { $ result = $ this -> _doQuery ( " ROLLBACK TRANSACTION " ) ; } @ mssql_close ( $ this -> connection ) ; $ this -> connection = 0 ; $ this -> affected_rows = $ this -> current_row = - 1 ; if ( isset ( $ result ) && MDB :: isError ( $ result ) ) { return ( $ result ) ; } unset ( $ GLOBALS [ '_MDB_databases' ] [ $ this -> database ] ) ; return ( TRUE ) ; } return ( FALSE ) ; }
all the RDBMS specific things needed close a DB connection
 @return boolean
 @access private
all the RDBMS specific things needed close a DB connection @return boolean @access private