aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/view-result.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-09-10 14:10:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-09-10 14:10:45 +0200
commit0ed9ceef3abbd9f4ff786f6a02fe8767780e8c2c (patch)
tree0bca6f9e302dd92eb4dc9136ab0b826f8fa61aff /odb/mysql/view-result.hxx
parent075f64ca84e4e1be22bad30e4974e9b675d12ec8 (diff)
Schema versioning support
Diffstat (limited to 'odb/mysql/view-result.hxx')
-rw-r--r--odb/mysql/view-result.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/mysql/view-result.hxx b/odb/mysql/view-result.hxx
index 8fa9d7f..8f4d3fd 100644
--- a/odb/mysql/view-result.hxx
+++ b/odb/mysql/view-result.hxx
@@ -9,6 +9,7 @@
#include <cstddef> // std::size_t
+#include <odb/schema-version.hxx>
#include <odb/view-result.hxx>
#include <odb/details/shared-ptr.hxx>
@@ -16,6 +17,7 @@
#include <odb/mysql/version.hxx>
#include <odb/mysql/forward.hxx> // query_base, view_statements
#include <odb/mysql/statement.hxx>
+#include <odb/mysql/traits-calls.hxx>
namespace odb
{
@@ -40,7 +42,8 @@ namespace odb
view_result_impl (const query_base&,
details::shared_ptr<select_statement>,
- statements_type&);
+ statements_type&,
+ const schema_version_migration*);
virtual void
load (view_type&);
@@ -66,6 +69,7 @@ namespace odb
private:
details::shared_ptr<select_statement> statement_;
statements_type& statements_;
+ view_traits_calls<view_type> tc_;
std::size_t count_;
};
}