aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/database.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-24 13:42:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-24 13:42:04 +0200
commit7392db256c1587ff8fe87d95c5ae5c10f854f79e (patch)
treeb41dd7cea27ef46e13def92af80de1d310e3c43d /odb/sqlite/database.hxx
parent80c9352bdb197cea6a1fddc9f9e623c06e5d71ce (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/sqlite/database.hxx')
-rw-r--r--odb/sqlite/database.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/sqlite/database.hxx b/odb/sqlite/database.hxx
index 13c44e6..348f236 100644
--- a/odb/sqlite/database.hxx
+++ b/odb/sqlite/database.hxx
@@ -87,7 +87,7 @@ namespace odb
// Transactions.
//
public:
- transaction_impl*
+ virtual transaction_impl*
begin ();
transaction_impl*