aboutsummaryrefslogtreecommitdiff
path: root/odb/transaction.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/transaction.cxx')
-rw-r--r--odb/transaction.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/odb/transaction.cxx b/odb/transaction.cxx
index 7b28ea2..de5d1f6 100644
--- a/odb/transaction.cxx
+++ b/odb/transaction.cxx
@@ -61,11 +61,6 @@ namespace odb
if (finilized_)
throw transaction_already_finilized ();
- // Flush the session if we are in the session-per-transaction mode.
- //
- if (impl_->own_session ())
- session ().flush ();
-
impl_->commit ();
finilized_ = true;
}
@@ -87,7 +82,5 @@ namespace odb
transaction_impl::
~transaction_impl ()
{
- if (own_session ())
- reinterpret_cast<session_type*> (&session_mem_)->~session ();
}
}