aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/transaction.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/transaction.hxx')
-rw-r--r--odb/mysql/transaction.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/mysql/transaction.hxx b/odb/mysql/transaction.hxx
index 3cfd042..0f5ae6f 100644
--- a/odb/mysql/transaction.hxx
+++ b/odb/mysql/transaction.hxx
@@ -41,6 +41,9 @@ namespace odb
connection_type&
connection ();
+ connection_type&
+ connection (odb::database&);
+
// Return current transaction or throw if there is no transaction
// in effect.
//