aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/mssql/transaction.hxx4
-rw-r--r--odb/mssql/transaction.ixx10
2 files changed, 11 insertions, 3 deletions
diff --git a/odb/mssql/transaction.hxx b/odb/mssql/transaction.hxx
index 3dad3be..a518a8c 100644
--- a/odb/mssql/transaction.hxx
+++ b/odb/mssql/transaction.hxx
@@ -28,7 +28,9 @@ namespace odb
typedef mssql::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/mssql/transaction.ixx b/odb/mssql/transaction.ixx
index ba17e58..808fa25 100644
--- a/odb/mssql/transaction.ixx
+++ b/odb/mssql/transaction.ixx
@@ -10,8 +10,14 @@ namespace odb
namespace mssql
{
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 ()
{
}