Преглед на файлове

HPCC-12591 Revise based on review comments

1. Remove a comment which does not apply to here;
2. Change the type of RawValue, count and max to int64 (
.ecm file does not support 64bit unsigned).

Signed-off-by: wangkx <kevin.wang@lexisnexis.com>
wangkx преди 10 години
родител
ревизия
a428ac7373
променени са 2 файла, в които са добавени 3 реда и са изтрити 4 реда
  1. 3 3
      esp/scm/ws_workunits.ecm
  2. 0 1
      esp/services/ws_workunits/ws_workunitsService.cpp

+ 3 - 3
esp/scm/ws_workunits.ecm

@@ -1582,9 +1582,9 @@ ESPStruct [nil_remove] WUStatisticItem
     string Measure;
     string Kind;
     string Value;
-    unsigned RawValue;
-    unsigned Count;
-    unsigned Max;
+    int64 RawValue;
+    int64 Count;
+    int64 Max;
 };
 
 ESPrequest [nil_remove] WUGetStatsRequest

+ 0 - 1
esp/services/ws_workunits/ws_workunitsService.cpp

@@ -4253,7 +4253,6 @@ bool CWsWorkunitsEx::onWUCheckFeatures(IEspContext &context, IEspWUCheckFeatures
 
 static const char * checkGetStatsInput(const char * s)
 {
-    //Supplying * on the command line is a pain because it needs quoting. Allow - instead.
     if (!s || !*s)
         return "*";
     return s;