aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/sqlite/result.txx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/sqlite/result.txx b/odb/sqlite/result.txx
index f104f6f..83dd4b0 100644
--- a/odb/sqlite/result.txx
+++ b/odb/sqlite/result.txx
@@ -89,7 +89,8 @@ namespace odb
if (r == select_statement::truncated)
{
- object_traits::grow (im, statements_.out_image_truncated ());
+ if (object_traits::grow (im, statements_.out_image_truncated ()))
+ im.version++;
if (im.version != statements_.out_image_version ())
{