From 369e571347df308c84e1b2ab855d2983f517ace3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 30 Apr 2021 12:05:45 +0200 Subject: Add transaction::connection(database&) overload --- odb/mysql/transaction.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb/mysql/transaction.hxx') 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. // -- cgit v1.1