From 4ee004a6de190316d5ff2fb8bfe0f28b33d74e7f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 30 Aug 2011 16:19:42 +0200 Subject: Add comment with some explanations --- odb/sqlite/connection.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'odb/sqlite/connection.hxx') diff --git a/odb/sqlite/connection.hxx b/odb/sqlite/connection.hxx index c1133eb..4ad4f42 100644 --- a/odb/sqlite/connection.hxx +++ b/odb/sqlite/connection.hxx @@ -103,7 +103,11 @@ namespace odb init (); private: + // Needed to break the circular connection-database dependency + // (odb::connection has the odb::database member). + // database_type& db_; + auto_handle handle_; // Keep statement_cache_ after handle_ so that it is destroyed before -- cgit v1.1