diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-22 14:07:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-22 14:07:32 +0200 |
commit | 523c0184c0360f6ba77819f90c90afd7a71d1370 (patch) | |
tree | c45d3b37fa67ddefbe2df819b0f5561f03da6354 | |
parent | e04d780ade5f663de1b2314a73cf758db95af439 (diff) |
Initial support for non-polymorphic inheritance
Every class gets a separate table. New test: common/inheritance.
-rw-r--r-- | odb/sqlite/result.txx | 3 |
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 ()) { |