aboutsummaryrefslogtreecommitdiff
path: root/tracer/transaction/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tracer/transaction/driver.cxx')
-rw-r--r--tracer/transaction/driver.cxx21
1 files changed, 1 insertions, 20 deletions
diff --git a/tracer/transaction/driver.cxx b/tracer/transaction/driver.cxx
index 164b9a0..752eb0b 100644
--- a/tracer/transaction/driver.cxx
+++ b/tracer/transaction/driver.cxx
@@ -7,7 +7,6 @@
#include <iostream>
#include <odb/exceptions.hxx>
-#include <odb/session.hxx>
#include <odb/transaction.hxx>
#include <odb/tracer/database.hxx>
#include <odb/tracer/transaction.hxx>
@@ -70,27 +69,9 @@ main ()
}
}
- // Existing session via current.
- //
- cout << "test 006" << endl;
- {
- session s;
- transaction t (db.begin_transaction ());
- assert (&t.session () == &s);
- }
-
- // Existing session passed explicitly.
- //
- cout << "test 007" << endl;
- {
- session s;
- transaction t (db.begin_transaction (s));
- assert (&t.session () == &s);
- }
-
// Concrete transaction type.
//
- cout << "test 008" << endl;
+ cout << "test 006" << endl;
{
assert (sizeof (tracer::transaction) == sizeof (transaction));