diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 12:05:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 12:08:17 +0200 |
commit | 3e35d69611534c57f06bfc7ec11f505ba97c8aab (patch) | |
tree | a167f0acf8bf35bf32dfafe4c226b65b66fae394 /odb/oracle/database.ixx | |
parent | a8e11c5e5688f53cd9ac5af6dffe9a3db0dffba7 (diff) |
Add transaction::connection(database&) overload
Diffstat (limited to 'odb/oracle/database.ixx')
-rw-r--r-- | odb/oracle/database.ixx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/oracle/database.ixx b/odb/oracle/database.ixx index c416b00..ea41aca 100644 --- a/odb/oracle/database.ixx +++ b/odb/oracle/database.ixx @@ -624,7 +624,7 @@ namespace odb { // Throws if not in transaction. // - oracle::connection& c (transaction::current ().connection ()); + oracle::connection& c (transaction::current ().connection (*this)); return c.prepare_query<T> (n, q); } |