Преглед изворни кода

Merge pull request #9514 from jakesmith/hpcc-16919

HPCC-16919 Make graph/edge stat. slave #'s 1 based.

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday пре 8 година
родитељ
комит
e12e81d2d4
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      thorlcr/graph/thgraphmaster.cpp

+ 2 - 2
thorlcr/graph/thgraphmaster.cpp

@@ -2828,7 +2828,7 @@ void CThorStats::processInfo()
     ForEachItemIn(n, counts)
     {
         unsigned __int64 thiscount = counts.item(n);
-        tallyValue(thiscount, n);
+        tallyValue(thiscount, n+1);
     }
     calculateSkew();
 }
@@ -2880,7 +2880,7 @@ void ProgressInfo::processInfo() // reimplement as counts have special flags (i.
         if (thiscount & THORDATALINK_STOPPED)
             stopcount++;
         thiscount = thiscount & THORDATALINK_COUNT_MASK;
-        tallyValue(thiscount, n);
+        tallyValue(thiscount, n+1);
     }
     calculateSkew();
 }