aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/simple-object-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/simple-object-result.hxx
parent075f64ca84e4e1be22bad30e4974e9b675d12ec8 (diff)
Schema versioning support
Diffstat (limited to 'odb/mysql/simple-object-result.hxx')
-rw-r--r--odb/mysql/simple-object-result.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/mysql/simple-object-result.hxx b/odb/mysql/simple-object-result.hxx
index edbed4c..85eb4ff 100644
--- a/odb/mysql/simple-object-result.hxx
+++ b/odb/mysql/simple-object-result.hxx
@@ -9,6 +9,7 @@
#include <cstddef> // std::size_t
+#include <odb/schema-version.hxx>
#include <odb/simple-object-result.hxx>
#include <odb/details/shared-ptr.hxx>
@@ -16,6 +17,7 @@
#include <odb/mysql/version.hxx>
#include <odb/mysql/forward.hxx> // query_base
#include <odb/mysql/statement.hxx>
+#include <odb/mysql/traits-calls.hxx>
namespace odb
{
@@ -41,7 +43,8 @@ namespace odb
object_result_impl (const query_base&,
details::shared_ptr<select_statement>,
- statements_type&);
+ statements_type&,
+ const schema_version_migration*);
virtual void
load (object_type&, bool fetch);
@@ -70,6 +73,7 @@ namespace odb
private:
details::shared_ptr<select_statement> statement_;
statements_type& statements_;
+ object_traits_calls<object_type> tc_;
std::size_t count_;
};
}