aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/connection.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-15 13:17:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-19 11:40:30 +0200
commit8112bd0febcfa1e3a76e0d03363facbefc3822f7 (patch)
tree0f5a05b9b29ae7d77e95f7831c214b385aaf6a3b /odb/sqlite/connection.hxx
parentd94948b8bccfd8748245726487d54c41bb199baf (diff)
Implement early connection release
Diffstat (limited to 'odb/sqlite/connection.hxx')
-rw-r--r--odb/sqlite/connection.hxx7
1 files changed, 5 insertions, 2 deletions
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: