浏览代码

HPCC-19839 First statistics result was incorrectly being filtered out

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 7 年之前
父节点
当前提交
6da7a2ba2c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/workunit/workunit.cpp

+ 1 - 1
common/workunit/workunit.cpp

@@ -733,7 +733,7 @@ protected:
         // When workflow is root element, it is just a container.  Ignore the workflow element here
         // as WorkUnitStatisticsScopeIterator will produce workflow scope - don't want duplicates.
         // (Note: workflow element never contains stats).
-        if (collection->queryScopeType() == SSTworkflow)
+        if (collections.tos().queryScopeType() == SSTworkflow)
         {
             if (!next())
                 return false;