function RollbackTrans() { $ret = OCIrollback($this->_connectionID); $this->_commit = OCI_COMMIT_ON_SUCCESS; $this->autoCommit = true; return $ret; }
function RollbackTrans() { if ($this->transOff) return true; if ($this->transCnt) $this->transCnt -= 1; $ret = OCIrollback($this->_connectionID); $this->_commit = OCI_COMMIT_ON_SUCCESS; $this->autoCommit = true; return $ret; }
/** * Rollback Transaction * * @access public * @return bool */ function trans_rollback() { if (!$this->trans_enabled) { return TRUE; } // When transactions are nested we only begin/commit/rollback the outermost ones if ($this->_trans_depth > 0) { return TRUE; } $ret = OCIrollback($this->conn_id); $this->_commit = OCI_COMMIT_ON_SUCCESS; return $ret; }