diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-11-30 10:45:39 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-30 11:32:08 +0200 |
commit | b7f64fe7f65eb286b5b0c93776fe38bd682b9552 (patch) | |
tree | 3f05495eb0eaff8c2760a962b1d1d81b2aec331a /odb/oracle/transaction-impl.cxx | |
parent | 4cf24ec9ce581cdb68f53a9066e0de504031f073 (diff) |
Provide separate overload of translate_error for oracle::connection
Diffstat (limited to 'odb/oracle/transaction-impl.cxx')
-rw-r--r-- | odb/oracle/transaction-impl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/oracle/transaction-impl.cxx b/odb/oracle/transaction-impl.cxx index a22d5c7..865b9d2 100644 --- a/odb/oracle/transaction-impl.cxx +++ b/odb/oracle/transaction-impl.cxx @@ -106,7 +106,7 @@ namespace odb OCI_TRANS_NEW); if (s == OCI_ERROR || s == OCI_INVALID_HANDLE) - translate_error (err, s, connection_.get ()); + translate_error (*connection_, s); } void transaction_impl:: @@ -123,7 +123,7 @@ namespace odb OCI_DEFAULT)); if (s == OCI_ERROR || s == OCI_INVALID_HANDLE) - translate_error (connection_->error_handle (), s, connection_.get ()); + translate_error (*connection_, s); } void transaction_impl:: @@ -140,7 +140,7 @@ namespace odb OCI_DEFAULT)); if (s == OCI_ERROR || s == OCI_INVALID_HANDLE) - translate_error (connection_->error_handle (), s, connection_.get ()); + translate_error (*connection_, s); } } } |