aboutsummaryrefslogtreecommitdiff
path: root/odb/mssql/view-result.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-10-08 16:09:07 +0200
commitd3261c7ed4ac622c8807ba88b39bd41632577c4f (patch)
tree5b21da2657756b553d70526c18ea30c387d2b25b /odb/mssql/view-result.hxx
parentf301e6ae8a836dff7face65e24e2de29e077166b (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/view-result.hxx')
-rw-r--r--odb/mssql/view-result.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/mssql/view-result.hxx b/odb/mssql/view-result.hxx
index a847306..7215641 100644
--- a/odb/mssql/view-result.hxx
+++ b/odb/mssql/view-result.hxx
@@ -14,7 +14,7 @@
#include <odb/details/shared-ptr.hxx>
#include <odb/mssql/version.hxx>
-#include <odb/mssql/forward.hxx> // query, view_statements
+#include <odb/mssql/forward.hxx> // query_base, view_statements
#include <odb/mssql/statement.hxx>
namespace odb
@@ -28,9 +28,9 @@ namespace odb
typedef odb::view_result_impl<T> base_type;
typedef typename base_type::view_type view_type;
- typedef typename base_type::view_traits view_traits;
-
typedef typename base_type::pointer_type pointer_type;
+
+ typedef view_traits_impl<view_type, id_mssql> view_traits;
typedef typename base_type::pointer_traits pointer_traits;
typedef view_statements<view_type> statements_type;
@@ -38,7 +38,7 @@ namespace odb
virtual
~view_result_impl ();
- view_result_impl (const query&,
+ view_result_impl (const query_base&,
details::shared_ptr<select_statement>,
statements_type&);