diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-27 15:53:35 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-01 13:14:54 +0200 |
commit | 02e8f9f8d3276433398bc04bf66ff8e55e8d3d31 (patch) | |
tree | dd57100b709f867a93feb95296db40f4c50466e5 /odb/oracle/object-statements.txx | |
parent | 35dd30f3304027fc4b6167a64bb8d2fe1152d5bf (diff) |
Implement query image change callback machinery
Diffstat (limited to 'odb/oracle/object-statements.txx')
-rw-r--r-- | odb/oracle/object-statements.txx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/oracle/object-statements.txx b/odb/oracle/object-statements.txx index 037d82c..948251f 100644 --- a/odb/oracle/object-statements.txx +++ b/odb/oracle/object-statements.txx @@ -45,6 +45,8 @@ namespace odb id_image_.version = 0; id_image_version_ = 0; + select_image_binding_.change_callback = &image_.change_callback; + std::memset (insert_image_bind_, 0, sizeof (insert_image_bind_)); std::memset (update_image_bind_, 0, sizeof (update_image_bind_)); std::memset (select_image_bind_, 0, sizeof (select_image_bind_)); @@ -137,6 +139,8 @@ namespace odb select_image_version_ = 0; insert_image_version_ = 0; + select_image_binding_.change_callback = &image_.change_callback; + std::memset (insert_image_bind_, 0, sizeof (insert_image_bind_)); std::memset (select_image_bind_, 0, sizeof (select_image_bind_)); } |