diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-30 16:19:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-30 16:19:42 +0200 |
commit | 4ee004a6de190316d5ff2fb8bfe0f28b33d74e7f (patch) | |
tree | d18e193e4408c6d1b77616cfc5593aab65db1b8f | |
parent | 1c1544f5297f88bbbcbbad2d21c4ec7b62bb9a28 (diff) |
Add comment with some explanations
-rw-r--r-- | odb/sqlite/connection.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
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<sqlite3> handle_; // Keep statement_cache_ after handle_ so that it is destroyed before |