From f5d79a0cd5dc12a430d17bbdca7ec5aacb45996c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 24 Aug 2011 13:42:04 +0200 Subject: Add support for transaction multiplexing Also delay getting a connection until after we do all the sanity checks (e.g., that there is no active transaction). Otherwise we are running risk of getting blocked rather than throwing an exception. --- odb/database.ixx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'odb/database.ixx') diff --git a/odb/database.ixx b/odb/database.ixx index ccbbe41..dbdcaec 100644 --- a/odb/database.ixx +++ b/odb/database.ixx @@ -12,12 +12,6 @@ namespace odb { } - inline transaction_impl* database:: - begin () - { - return connection ()->begin (); - } - inline connection_ptr database:: connection () { -- cgit v1.1