diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-18 14:02:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-18 14:02:45 +0200 |
commit | 7c3e9f3ae4bb1a207fd2443456c3309e8b173ac8 (patch) | |
tree | 63c156e513a7793cf434e2aeb37e0175793c1ba4 /odb/mysql/object-statements.txx | |
parent | f959f1fb57ba5607573625aecf8ff38e4de9d558 (diff) |
Version image types
Diffstat (limited to 'odb/mysql/object-statements.txx')
-rw-r--r-- | odb/mysql/object-statements.txx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/mysql/object-statements.txx b/odb/mysql/object-statements.txx index 553447b..4b8e356 100644 --- a/odb/mysql/object-statements.txx +++ b/odb/mysql/object-statements.txx @@ -21,6 +21,12 @@ namespace odb image_binding_ (image_bind_, object_traits::column_count), id_image_binding_ (image_bind_ + object_traits::column_count, 1) { + image_.version = 0; + image_version_ = 0; + + id_image_.version = 0; + id_image_version_ = 0; + std::memset (image_bind_, 0, sizeof (image_bind_)); std::memset (image_error_, 0, sizeof (image_error_)); |