Browse Source

HPCC-19839 First statistics result was incorrectly being filtered out

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 7 years ago
parent
commit
6da7a2ba2c
1 changed files with 1 additions and 1 deletions
  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;