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/connection.hxx | |
parent | d4be234991f2a2e6abd8b2c0d585eb4ae6216979 (diff) |
Add transaction::connection(database&) overload
Diffstat (limited to 'odb/connection.hxx')
-rw-r--r-- | odb/connection.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/odb/connection.hxx b/odb/connection.hxx index 57d9dc3..8ce4544 100644 --- a/odb/connection.hxx +++ b/odb/connection.hxx @@ -89,11 +89,11 @@ namespace odb template <typename T> prepared_query<T> - lookup_query (const char* name) const; + lookup_query (const char* name); template <typename T, typename P> prepared_query<T> - lookup_query (const char* name, P*& params) const; + lookup_query (const char* name, P*& params); // SQL statement tracing. // @@ -199,8 +199,9 @@ namespace odb friend class prepared_query_impl; prepared_query_impl* prepared_queries_; - protected: - friend class transaction; + // Implementation details. + // + public: tracer_type* transaction_tracer_; }; |