diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-10-08 16:09:07 +0200 |
commit | d3261c7ed4ac622c8807ba88b39bd41632577c4f (patch) | |
tree | 5b21da2657756b553d70526c18ea30c387d2b25b /odb/mssql/polymorphic-object-result.txx | |
parent | f301e6ae8a836dff7face65e24e2de29e077166b (diff) |
Ground work for multi-database support
All generated code now includes database id. The database-specific
database class interface has been updated to include all the database
operations. The database-specific tests now use this interface.
Diffstat (limited to 'odb/mssql/polymorphic-object-result.txx')
-rw-r--r-- | odb/mssql/polymorphic-object-result.txx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/mssql/polymorphic-object-result.txx b/odb/mssql/polymorphic-object-result.txx index 02e2cd1..e469511 100644 --- a/odb/mssql/polymorphic-object-result.txx +++ b/odb/mssql/polymorphic-object-result.txx @@ -36,7 +36,7 @@ namespace odb template <typename T> polymorphic_object_result_impl<T>:: - polymorphic_object_result_impl (const query&, + polymorphic_object_result_impl (const query_base&, details::shared_ptr<select_statement> st, statements_type& sts) : base_type (sts.connection ().database ()), @@ -195,7 +195,7 @@ namespace odb { // Derived type version. // - typedef object_traits<T> traits; + typedef object_traits_impl<T, id_mssql> traits; static void rebind (typename traits::statements_type& sts) @@ -217,7 +217,7 @@ namespace odb { // Root type version. // - typedef object_traits<R> traits; + typedef object_traits_impl<R, id_mssql> traits; static void rebind (typename traits::statements_type& sts) |