aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/oracle/transaction.hxx4
-rw-r--r--odb/oracle/transaction.ixx10
2 files changed, 11 insertions, 3 deletions
diff --git a/odb/oracle/transaction.hxx b/odb/oracle/transaction.hxx
index 982d039..5352fae 100644
--- a/odb/oracle/transaction.hxx
+++ b/odb/oracle/transaction.hxx
@@ -28,7 +28,9 @@ namespace odb
typedef oracle::connection connection_type;
explicit
- transaction (transaction_impl*);
+ transaction (transaction_impl*, bool make_current = true);
+
+ transaction ();
// Return the database this transaction is on.
//
diff --git a/odb/oracle/transaction.ixx b/odb/oracle/transaction.ixx
index 5397d5a..4c18bbf 100644
--- a/odb/oracle/transaction.ixx
+++ b/odb/oracle/transaction.ixx
@@ -10,8 +10,14 @@ namespace odb
namespace oracle
{
inline transaction::
- transaction (transaction_impl* impl)
- : odb::transaction (impl)
+ transaction (transaction_impl* impl, bool make_current)
+ : odb::transaction (impl, make_current)
+ {
+ }
+
+ inline transaction::
+ transaction ()
+ : odb::transaction ()
{
}