diff options
author | Maria Staskova <masha@dhtmlx.com> | 2014-05-20 14:53:56 +0300 |
---|---|---|
committer | Maria Staskova <masha@dhtmlx.com> | 2014-05-20 14:53:56 +0300 |
commit | 074750e6ee632990c5b9334473df0f8b4b65c000 (patch) | |
tree | a4a93727ffdae161b9df42e93066c03cff980088 /codebase/db_oracle.php | |
parent | 8959cc7e4727f5e28f6d3d44b5124d364dab2253 (diff) | |
parent | d5d7611f58fdbd5c49df78336c3856d747585c4e (diff) | |
download | connector-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.php | 4 |
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]; |