diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-21 13:13:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-10-21 13:13:02 +0200 |
commit | 8db0409e97f73d2e090ec7a5aa54b1c176ab5629 (patch) | |
tree | 6bc60ef73ee79749f01001b32b0b6a93130a17f3 | |
parent | 8ccdac9cb6b0aa45f99fd222502fbf6508938d13 (diff) |
-rw-r--r-- | odb/sqlite/section-statements.txx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/sqlite/section-statements.txx b/odb/sqlite/section-statements.txx index f097a5d..f005f74 100644 --- a/odb/sqlite/section-statements.txx +++ b/odb/sqlite/section-statements.txx @@ -34,9 +34,7 @@ namespace odb select_image_truncated_, 0, sizeof (select_image_truncated_)); std::memset (update_image_bind_, 0, sizeof (update_image_bind_)); - for (std::size_t i (0); - i < select_column_count + managed_optimistic_load_column_count; - ++i) + for (std::size_t i (0); i < select_bind_count; ++i) select_image_bind_[i].truncated = select_image_truncated_ + i; } } |