aboutsummaryrefslogtreecommitdiff
path: root/odb/transaction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/transaction.cxx')
-rw-r--r--odb/transaction.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/transaction.cxx b/odb/transaction.cxx
index 70abd0c..b96a1bf 100644
--- a/odb/transaction.cxx
+++ b/odb/transaction.cxx
@@ -3,8 +3,8 @@
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
-#include <odb/exceptions.hxx>
#include <odb/transaction.hxx>
+#include <odb/exceptions.hxx>
#include <odb/details/tls.hxx>
@@ -85,6 +85,7 @@ namespace odb
throw transaction_already_finalized ();
finalized_ = true;
+ impl_->connection ().transaction_tracer_ = 0;
if (tls_get (current_transaction) == this)
{
@@ -102,6 +103,7 @@ namespace odb
throw transaction_already_finalized ();
finalized_ = true;
+ impl_->connection ().transaction_tracer_ = 0;
if (tls_get (current_transaction) == this)
{