From f1d06b7994d8b0aa31f86288183f46509bb78c19 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 30 Apr 2021 10:03:56 +0200 Subject: Add transaction::connection(database&) overload --- odb/database.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/database.cxx') diff --git a/odb/database.cxx b/odb/database.cxx index 3ad3716..9e098c7 100644 --- a/odb/database.cxx +++ b/odb/database.cxx @@ -19,7 +19,7 @@ namespace odb unsigned long long database:: execute (const char* st, std::size_t n) { - connection_type& c (transaction::current ().connection ()); + connection_type& c (transaction::current ().connection (*this)); return c.execute (st, n); } -- cgit v1.1