diff options
Diffstat (limited to 'odb/oracle/object-result.txx')
-rw-r--r-- | odb/oracle/object-result.txx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/oracle/object-result.txx b/odb/oracle/object-result.txx index 1153534..6cd994b 100644 --- a/odb/oracle/object-result.txx +++ b/odb/oracle/object-result.txx @@ -152,6 +152,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_.select_image_binding ().version++; im.change_callback_.callback = 0; @@ -270,6 +274,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_.select_image_binding ().version++; im.change_callback_.callback = 0; |