diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-24 13:42:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-24 13:42:04 +0200 |
commit | f5d79a0cd5dc12a430d17bbdca7ec5aacb45996c (patch) | |
tree | 10518f3819b50b78470d3612a36a14580ca1ad11 /odb/database.ixx | |
parent | 27e362857cf748a54c62b157113cd4abf7eff570 (diff) |
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.
Diffstat (limited to 'odb/database.ixx')
-rw-r--r-- | odb/database.ixx | 6 |
1 files changed, 0 insertions, 6 deletions
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 () { |