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 | ad288e347bb45eb7a6bcbe3ed3821d008d816a5d (patch) | |
tree | ef029ce5495e9a539e39d2bb48a38c06b1dfb232 | |
parent | 9fce9a7250f63a2a3cceeb0aac7b22d5dd7e6915 (diff) |
Add comment with some explanations
-rw-r--r-- | odb/pgsql/connection.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/pgsql/connection.hxx b/odb/pgsql/connection.hxx index fd74c6e..e8a1f17 100644 --- a/odb/pgsql/connection.hxx +++ b/odb/pgsql/connection.hxx @@ -84,7 +84,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<PGconn> handle_; // Keep statement_cache_ after handle_ so that it is destroyed before |