irm-1.6-b3/MDB/pgsql.php
/**
     * Define whether database changes done on the database be automatically
     * committed. This function may also implicitly start or end a transaction.
     *
     * @param boolean $auto_commit flag that indicates whether the database
     *     changes should be committed right after executing every query
     *     statement. If this argument is 0 a transaction implicitly started.
     *     Otherwise, if a transaction is in progress it is ended by committing
     *     any database changes that were pending.
     * @return mixed MDB_OK on success, a MDB error on failure
     * @access public
     */
Define whether database changes done on the database be automatically
committed. This function may also implicitly start or end a transaction.

@param boolean $auto_commit flag that indicates whether the database
changes should be committed right after executing every query
statement. If this argument is 0 a transaction implicitly started.
Otherwise, if a transaction is in progress it is ended by committing
any database changes that were pending.
@return mixed MDB_OK on success, a MDB error on failure
@access public
Define whether database changes done on the database be automatically committed . This function may also implicitly start or end a transaction . @param boolean $auto_commit flag that indicates whether the database changes should be committed right after executing every query statement . If this argument is 0 a transaction implicitly started . Otherwise if a transaction is in progress it is ended by committing any database changes that were pending . @return mixed MDB_OK on success a MDB error on failure @access public
function autoCommit($auto_commit)
    {
        $this->debug('AutoCommit: '.($auto_commit ? 'On' : 'Off'));
        if ($this->auto_commit == $auto_commit) {
            return(MDB_OK);
        }
        if ($this->connection) {
            if (MDB::isError($result = $this->_doQuery($auto_commit ? 'END' : 'BEGIN')))
                return($result);
        }
        $this->auto_commit = $auto_commit;
        $this->in_transaction = !$auto_commit;
        return(MDB_OK);
    }
function autoCommit ( $ auto_commit ) { $ this -> debug ( 'AutoCommit: ' . ( $ auto_commit ? 'On' : 'Off' ) ) ; if ( $ this -> auto_commit == $ auto_commit ) { return ( MDB_OK ) ; } if ( $ this -> connection ) { if ( MDB :: isError ( $ result = $ this -> _doQuery ( $ auto_commit ? 'END' : 'BEGIN' ) ) ) return ( $ result ) ; } $ this -> auto_commit = $ auto_commit ; $ this -> in_transaction = ! $ auto_commit ; return ( MDB_OK ) ; }
Define whether database changes done on the database be automatically
 committed.
Define whether database changes done on the database be automatically committed .