function CommitTransaction()
	{
		if ($this->ConnectionSetting->IsReadOnlySlave)
			throw new Exception('Transactions are not allowed on a read-only slave');
		
		$this->RequireConnection(true);
		$this->Observe("DataAdapter ($this->_label) (DataAdapter.CommitTransaction)", OBSERVE_QUERY);
		$this->_transactionInProgress = false;
		return $this->_driver->CommitTransaction($this->_dbconn);
	}
function CommitTransaction()
	{
		if ($this->ConnectionSetting->IsReadOnlySlave)
			throw new Exception('Transactions are not allowed on a read-only slave');
		
		$this->RequireConnection(true);
		$this->Observe("DataAdapter ($this->_label) (DataAdapter.CommitTransaction)", OBSERVE_QUERY);
		$this->_transactionInProgress = false;
		return $this->_driver->CommitTransaction($this->_dbconn);
	}
function CommitTransaction ( ) { if ( $ this -> ConnectionSetting -> IsReadOnlySlave ) throw new Exception ( 'Transactions are not allowed on a read-only slave' ) ; $ this -> RequireConnection ( true ) ; $ this -> Observe ( "DataAdapter ($this->_label) (DataAdapter.CommitTransaction)" , OBSERVE_QUERY ) ; $ this -> _transactionInProgress = false ; return $ this -> _driver -> CommitTransaction ( $ this -> _dbconn ) ; }
Commit the current DB transaction and re-enable auto-commit if necessary
@access public
Commit the current DB transaction and re - enable auto - commit if necessary