aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/pgsql/transaction.hxx')
-rw-r--r--odb/pgsql/transaction.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/pgsql/transaction.hxx b/odb/pgsql/transaction.hxx
index 450842d..39675d8 100644
--- a/odb/pgsql/transaction.hxx
+++ b/odb/pgsql/transaction.hxx
@@ -46,6 +46,11 @@ namespace odb
static transaction&
current ();
+ // Set the current thread's transaction.
+ //
+ static void
+ current (transaction&);
+
public:
transaction_impl&
implementation ();