aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/connection.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-15 13:17:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-15 13:17:30 +0200
commitc3a2b62f33e1f3fe19700257efdba7123b272cc4 (patch)
tree281f2275a2a7202c24bf114532adcd5752eaf19d /odb/mysql/connection.hxx
parent9126281b53722115b2e8624632f2dd616f0c26a0 (diff)
Implement early connection release
Diffstat (limited to 'odb/mysql/connection.hxx')
-rw-r--r--odb/mysql/connection.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/mysql/connection.hxx b/odb/mysql/connection.hxx
index 88fd04d..e729407 100644
--- a/odb/mysql/connection.hxx
+++ b/odb/mysql/connection.hxx
@@ -173,6 +173,9 @@ namespace odb
clear_ ();
private:
+ friend class transaction_impl; // invalidate_results()
+
+ private:
// Needed to break the circular connection-database dependency
// (odb::connection has the odb::database member).
//