Browse Source

Merge pull request #8546 from jakesmith/hpcc-15440

HPCC-15440 Conditional could cause grouping to be wrong

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 years ago
parent
commit
5a5fd39322
1 changed files with 1 additions and 1 deletions
  1. 1 1
      thorlcr/activities/loop/thloopslave.cpp

+ 1 - 1
thorlcr/activities/loop/thloopslave.cpp

@@ -839,7 +839,7 @@ public:
             dataLinkIncrement();
         return ret.getClear();
     }
-    virtual bool isGrouped() const override { return selectedItdl ? selectedItdl->isGrouped() : false; }
+    virtual bool isGrouped() const override { return container.queryGrouped(); }
     virtual void getMetaInfo(ThorDataLinkMetaInfo &info) override
     {
         initMetaInfo(info);