diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-09-07 15:10:54 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-09-07 15:10:54 +0200 |
commit | 30949c4784bbed7a2571b883e660472e7c38acad (patch) | |
tree | ad791cf1368410718d4e642a1031acdec01b0a32 | |
parent | 0ac0cd1b4993f5d8aa00057fdc9eb58ca6450615 (diff) |
Aesthetic changes
-rw-r--r-- | odb/oracle/transaction-impl.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/odb/oracle/transaction-impl.cxx b/odb/oracle/transaction-impl.cxx index 708747c..4751366 100644 --- a/odb/oracle/transaction-impl.cxx +++ b/odb/oracle/transaction-impl.cxx @@ -45,14 +45,14 @@ namespace odb odb::transaction_impl::connection_ = connection_.get (); } - OCISvcCtx* svc (connnection_->handle ()); + OCISvcCtx* h (connection_->handle ()); OCIError* err (connection_->error_handle ()); // Allocate a transaction handle if there is none associated with // the connection. // OCITrans* t (0); - sword s (OCIAttrGet (svc, + sword s (OCIAttrGet (h, OCI_HTYPE_SVCCTX, reinterpret_cast<void*> (&t), 0, @@ -76,7 +76,7 @@ namespace odb auto_t.reset (t); - s = OCIAttrSet (svc, + s = OCIAttrSet (h, OCI_HTYPE_SVCCTX, reinterpret_cast<void*> (t), 0, @@ -92,7 +92,7 @@ namespace odb // We never use OCITransDetach so the timeout parameter is // of no consequence. // - s = OCITransStart (svc, + s = OCITransStart (h, err, 0, OCI_TRANS_NEW); @@ -109,7 +109,7 @@ namespace odb OCI_DEFAULT)); if (s == OCI_ERROR || s == OCI_INVALID_HANDLE) - translate_error (err_, s); + translate_error (connection_->error_handle (), s); } void transaction_impl:: @@ -120,7 +120,7 @@ namespace odb OCI_DEFAULT)); if (s == OCI_ERROR || s == OCI_INVALID_HANDLE) - translate_error (err_, s); + translate_error (connection_->error_handle (), s); } } } |