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 | 88e0b0577a3aa619530bfbe3c409e093e4da4233 (patch) | |
tree | a0b1fef4279b7abbdd90603ad456ff60a7ad07ef | |
parent | 5b32371f4bd7525acc861992d3cf09aefba4639a (diff) |
-rw-r--r-- | odb/mysql/section-statements.txx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/mysql/section-statements.txx b/odb/mysql/section-statements.txx index 9bb8689..61bfafe 100644 --- a/odb/mysql/section-statements.txx +++ b/odb/mysql/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].error = select_image_truncated_ + i; } } |