aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-30 16:19:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-30 16:19:42 +0200
commitb51a2071da2169ced13dd3da669486a6f82dada4 (patch)
tree5b9373c2c93857291234db2aac08c82f8a294adb
parent3f64781802deb7f910a37e3998cfc358b65e24e9 (diff)
Add comment with some explanations
-rw-r--r--odb/mysql/connection.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/mysql/connection.hxx b/odb/mysql/connection.hxx
index 3667c10..a54194e 100644
--- a/odb/mysql/connection.hxx
+++ b/odb/mysql/connection.hxx
@@ -139,7 +139,11 @@ namespace odb
clear_ ();
private:
+ // Needed to break the circular connection-database dependency
+ // (odb::connection has the odb::database member).
+ //
database_type& db_;
+
bool failed_;
MYSQL mysql_;