Browse Source

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 năm trước cách đây
mục cha
commit
a428ac7373

+ 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;