From 7392db256c1587ff8fe87d95c5ae5c10f854f79e 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/sqlite/database.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/sqlite/database.hxx') 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* -- cgit v1.1