aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-14 16:14:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-14 16:14:20 +0200
commitfef201c447dab4850fe36499ad058e83a350cb76 (patch)
tree99937aa1d1d36affe915a98d3db4a0f7f7f9d4d1 /odb
parent4c87055fbbf4b36224cc4003cc9ae38023390400 (diff)
Fix bug in section's grow() generation
Diffstat (limited to 'odb')
-rw-r--r--odb/relational/source.hxx3
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.
//