aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/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
commite4b2a3484d7a640ff84803e0d9374c93063a151e (patch)
tree367314821b69717f2c96856163dd874cedd5a110 /odb/pgsql/connection.hxx
parentfef380f6c9a5fb9904d551478fe180a9c5d24b37 (diff)
Implement early connection release
Diffstat (limited to 'odb/pgsql/connection.hxx')
-rw-r--r--odb/pgsql/connection.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/pgsql/connection.hxx b/odb/pgsql/connection.hxx
index 3cc1f63..9c53b77 100644
--- a/odb/pgsql/connection.hxx
+++ b/odb/pgsql/connection.hxx
@@ -129,6 +129,9 @@ namespace odb
init ();
private:
+ friend class transaction_impl; // invalidate_results()
+
+ private:
// Needed to break the circular connection-database dependency
// (odb::connection has the odb::database member).
//