From 8112bd0febcfa1e3a76e0d03363facbefc3822f7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 15 Oct 2012 13:17:30 +0200 Subject: Implement early connection release --- odb/sqlite/connection.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'odb/sqlite/connection.hxx') diff --git a/odb/sqlite/connection.hxx b/odb/sqlite/connection.hxx index 3524a48..2754102 100644 --- a/odb/sqlite/connection.hxx +++ b/odb/sqlite/connection.hxx @@ -123,7 +123,7 @@ namespace odb wait (); public: - // Reset active and finalize uncached statements. + // Reset active statements. // void clear (); @@ -159,7 +159,10 @@ namespace odb friend void connection_unlock_callback (void**, int); - // Linked list of active and uncached statements currently associated + private: + friend class transaction_impl; // invalidate_results() + + // Linked list of active statements currently associated // with this connection. // private: -- cgit v1.1