diff options
-rw-r--r-- | odb/sqlite/container-statements.txx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/sqlite/container-statements.txx b/odb/sqlite/container-statements.txx index a4dd6f4..19ecfdc 100644 --- a/odb/sqlite/container-statements.txx +++ b/odb/sqlite/container-statements.txx @@ -58,7 +58,9 @@ namespace odb 0, sizeof (select_image_truncated_array_)); - for (std::size_t i (0); i < traits::data_column_count; ++i) + for (std::size_t i (0); + i < traits::data_column_count - traits::id_column_count; + ++i) data_image_bind_[i + traits::id_column_count].truncated = select_image_truncated_array_ + i; |