From fef201c447dab4850fe36499ad058e83a350cb76 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Oct 2015 16:14:20 +0200 Subject: Fix bug in section's grow() generation --- odb/relational/source.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'odb') 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. // -- cgit v1.1