diff options
-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. // |