diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 12:06:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-04-30 12:08:30 +0200 |
commit | c6019273a7564be9ed772d45aa95e09aaff37a23 (patch) | |
tree | 501c84ed459866611032a705052aa57045a67c5f /odb/pgsql/polymorphic-object-statements.txx | |
parent | 38e203158a865d08070a4a72dcc1fee2cdacb952 (diff) |
Add transaction::connection(database&) overload
Diffstat (limited to 'odb/pgsql/polymorphic-object-statements.txx')
-rw-r--r-- | odb/pgsql/polymorphic-object-statements.txx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/pgsql/polymorphic-object-statements.txx b/odb/pgsql/polymorphic-object-statements.txx index 7f2aadd..8472fca 100644 --- a/odb/pgsql/polymorphic-object-statements.txx +++ b/odb/pgsql/polymorphic-object-statements.txx @@ -129,7 +129,7 @@ namespace odb root_type& robj, const schema_version_migration* svm) { - connection_type& conn (transaction::current ().connection ()); + connection_type& conn (transaction::current ().connection (db)); polymorphic_derived_object_statements& sts ( conn.statement_cache ().find_object<object_type> ()); root_statements_type& rsts (sts.root_statements ()); |