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 | c0af27a770b1505ad6a1226f57f90642ce395296 (patch) | |
tree | 21fa70b3fa49c639cef4d5f07b73815291e3be1c /odb/mysql/view-result.hxx | |
parent | 46b2db37445b97cd3dbb8acd4f417e0851a30e4f (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/mysql/view-result.hxx')
-rw-r--r-- | odb/mysql/view-result.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/mysql/view-result.hxx b/odb/mysql/view-result.hxx index ab59f03..14a6002 100644 --- a/odb/mysql/view-result.hxx +++ b/odb/mysql/view-result.hxx @@ -14,7 +14,7 @@ #include <odb/details/shared-ptr.hxx> #include <odb/mysql/version.hxx> -#include <odb/mysql/forward.hxx> // query, view_statements +#include <odb/mysql/forward.hxx> // query_base, view_statements #include <odb/mysql/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_mysql> 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&); |