diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 10:03:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 10:37:35 +0200 |
commit | f1d06b7994d8b0aa31f86288183f46509bb78c19 (patch) | |
tree | 468b44ecedf0566fcf4c279064446d0ef661c293 /odb/database.cxx | |
parent | d4be234991f2a2e6abd8b2c0d585eb4ae6216979 (diff) |
Add transaction::connection(database&) overload
Diffstat (limited to 'odb/database.cxx')
-rw-r--r-- | odb/database.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |