aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/view-result.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/oracle/view-result.txx')
-rw-r--r--odb/oracle/view-result.txx12
1 files changed, 7 insertions, 5 deletions
diff --git a/odb/oracle/view-result.txx b/odb/oracle/view-result.txx
index df2a833..402a571 100644
--- a/odb/oracle/view-result.txx
+++ b/odb/oracle/view-result.txx
@@ -46,10 +46,12 @@ namespace odb
view_result_impl<T>::
view_result_impl (const query_base&,
details::shared_ptr<select_statement> statement,
- statements_type& statements)
+ statements_type& statements,
+ const schema_version_migration* svm)
: base_type (statements.connection ()),
statement_ (statement),
statements_ (statements),
+ tc_ (svm),
use_copy_ (false),
image_copy_ (0)
{
@@ -61,9 +63,9 @@ namespace odb
{
view_traits::callback (this->db_, view, callback_event::pre_load);
- view_traits::init (view,
- use_copy_ ? *image_copy_ : statements_.image (),
- &this->db_);
+ tc_.init (view,
+ use_copy_ ? *image_copy_ : statements_.image (),
+ &this->db_);
// If we are using a copy, make sure the callback information for
// LOB data also comes from the copy.
@@ -95,7 +97,7 @@ namespace odb
if (im.version != statements_.image_version ())
{
binding& b (statements_.image_binding ());
- view_traits::bind (b.bind, im);
+ tc_.bind (b.bind, im);
statements_.image_version (im.version);
b.version++;
}