diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-14 16:14:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-14 16:14:20 +0200 |
commit | fef201c447dab4850fe36499ad058e83a350cb76 (patch) | |
tree | 99937aa1d1d36affe915a98d3db4a0f7f7f9d4d1 | |
parent | 4c87055fbbf4b36224cc4003cc9ae38023390400 (diff) |
Fix bug in section's grow() generation
-rw-r--r-- | odb/relational/source.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx index a30c183..eae49a5 100644 --- a/odb/relational/source.hxx +++ b/odb/relational/source.hxx @@ -1758,6 +1758,9 @@ namespace relational if (container (mi)) return false; + if (section_ != 0 && *section_ != section (mi.m)) + return false; + // Ignore polymorphic id references; they are not returned by // the select statement. // |