From afc6505d75dbc391452f41081af457045d5e7526 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 20 Jul 2010 11:08:04 +0200 Subject: Get rid of the session mechanism for now Test low-level API instead. --- tracer/transaction/driver.cxx | 21 +-------------------- tracer/transaction/test.std | 6 ------ 2 files changed, 1 insertion(+), 26 deletions(-) (limited to 'tracer/transaction') 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 #include -#include #include #include #include @@ -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)); diff --git a/tracer/transaction/test.std b/tracer/transaction/test.std index 8f962ef..8083774 100644 --- a/tracer/transaction/test.std +++ b/tracer/transaction/test.std @@ -17,9 +17,3 @@ rollback transaction test 006 begin transaction rollback transaction -test 007 -begin transaction -rollback transaction -test 008 -begin transaction -rollback transaction -- cgit v1.1