summaryrefslogtreecommitdiffstats
path: root/codebase/db_oracle.php
diff options
context:
space:
mode:
authorMaria Staskova <masha@dhtmlx.com>2014-05-20 14:53:56 +0300
committerMaria Staskova <masha@dhtmlx.com>2014-05-20 14:53:56 +0300
commit074750e6ee632990c5b9334473df0f8b4b65c000 (patch)
treea4a93727ffdae161b9df42e93066c03cff980088 /codebase/db_oracle.php
parent8959cc7e4727f5e28f6d3d44b5124d364dab2253 (diff)
parentd5d7611f58fdbd5c49df78336c3856d747585c4e (diff)
downloadconnector-php-074750e6ee632990c5b9334473df0f8b4b65c000.zip
connector-php-074750e6ee632990c5b9334473df0f8b4b65c000.tar.gz
connector-php-074750e6ee632990c5b9334473df0f8b4b65c000.tar.bz2
Merge branch 'master' of 192.168.3.251:connector-php
Diffstat (limited to 'codebase/db_oracle.php')
-rw-r--r--codebase/db_oracle.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/codebase/db_oracle.php b/codebase/db_oracle.php
index 064d55a..703d3a4 100644
--- a/codebase/db_oracle.php
+++ b/codebase/db_oracle.php
@@ -23,8 +23,8 @@ class OracleDBDataWrapper extends DBDataWrapper{
$mode = ($this->is_record_transaction() || $this->is_global_transaction())?OCI_DEFAULT:OCI_COMMIT_ON_SUCCESS;
- $res=oci_execute($stm,$mode);
- if ($res===false) throw new Exception("Oracle - sql execution failed\n".oci_error($this->connection));
+ $res = @oci_execute($stm,$mode);
+ if ($res===false) throw new Exception(oci_error($this->connection));
$this->last_id=$out[0];