public function cancel() { set_error_handler(static::getErrorHandler()); $isSuccess = oci_cancel($this->resource); restore_error_handler(); return $isSuccess; }
/** * Free the result * * @return void */ public function free_result() { if (is_resource($this->result_id)) { oci_free_statement($this->result_id); $this->result_id = FALSE; } if (is_resource($this->stmt_id)) { oci_free_statement($this->stmt_id); } if (is_resource($this->curs_id)) { oci_cancel($this->curs_id); $this->curs_id = NULL; } }
/** * Free the result. * * @return void */ public function free_result() { if (is_resource($this->result_id)) { oci_free_statement($this->result_id); $this->result_id = false; } if (is_resource($this->stmt_id)) { oci_free_statement($this->stmt_id); } if (is_resource($this->curs_id)) { oci_cancel($this->curs_id); $this->curs_id = null; } }
public function closeCursor() { if ($this->_result) { oci_cancel($this->_result); } }
/** * Closes the connection * * @return boolean */ public function cancel() { oci_cancel($this->result); }
public function Cancel($statement) { return oci_cancel($statement); }
/** * Finish an open cursor * */ public function finish() { if ($this->_statementId) { oci_cancel($this->_statementId); } }