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.txx4
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/oracle/view-result.txx b/odb/oracle/view-result.txx
index 1d34503..9b9b0c9 100644
--- a/odb/oracle/view-result.txx
+++ b/odb/oracle/view-result.txx
@@ -116,6 +116,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.
+ //
r->statements_.image_binding ().version++;
im.change_callback_.callback = 0;