diff options
Diffstat (limited to 'odb/oracle/view-result.txx')
-rw-r--r-- | odb/oracle/view-result.txx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/odb/oracle/view-result.txx b/odb/oracle/view-result.txx index 64d949e..dc5cd6a 100644 --- a/odb/oracle/view-result.txx +++ b/odb/oracle/view-result.txx @@ -33,7 +33,7 @@ namespace odb view_result_impl<T>:: view_result_impl (const query&, details::shared_ptr<select_statement> statement, - view_statements<view_type>& statements) + statements_type& statements) : base_type (statements.connection ().database ()), statement_ (statement), statements_ (statements), @@ -116,7 +116,7 @@ namespace odb template <typename T> void view_result_impl<T>:: - change_callback (void* c) + change_callback (void* c, binding*) { view_result_impl<T>* r (static_cast<view_result_impl<T>*> (c)); @@ -127,9 +127,10 @@ namespace odb else *r->image_copy_ = im; - // Increment binding version since we may have "stolen" some - // descriptors (LOB, date-time) from the image. Re-bind will - // reallocate them and update the binding. + // See comment in simple object_result for details on what's going + // on here. Except for views, there is nothing else other than the + // select binding, so just incrementing the binding version will + // be sufficient. // r->statements_.image_binding ().version++; |