irm-1.6-b3/MDB/oci8.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.
     * @access public 
     * @return mixed MDB_OK on success, a MDB error on failure
     */
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.
@access public
@return mixed MDB_OK on success, a MDB error on failure
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 . @access public @return mixed MDB_OK on success a MDB error on failure
function autoCommit($auto_commit)
    {
        $this->debug('AutoCommit: '.($auto_commit ? 'On' : 'Off'));
        if ($this->auto_commit == $auto_commit) {
            return(MDB_OK);
        }
        if ($this->connection && $auto_commit && MDB::isError($commit = $this->commit())) {
            return($commit);
        }
        $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 && $ auto_commit && MDB :: isError ( $ commit = $ this -> commit ( ) ) ) { return ( $ commit ) ; } $ 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 .