From 523c0184c0360f6ba77819f90c90afd7a71d1370 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 22 Apr 2011 14:07:32 +0200 Subject: Initial support for non-polymorphic inheritance Every class gets a separate table. New test: common/inheritance. --- odb/sqlite/result.txx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ()) { -- cgit v1.1