diff options
-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 |