瀏覽代碼

HPCC-10696 Roxie should limit size of workunit outputs

Fix cosmetic issue in error message, spotted when testing.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 年之前
父節點
當前提交
8a6d2fa12b
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 2 2
      ecl/hthor/hthor.cpp
  2. 1 1
      roxie/ccd/ccdserver.cpp

+ 2 - 2
ecl/hthor/hthor.cpp

@@ -5976,7 +5976,7 @@ void CHThorWorkUnitWriteActivity::execute()
         if(outputLimit && ((rowdata.length() + thisSize) > outputLimit))
         {
             StringBuffer errMsg("Dataset too large to output to workunit (limit "); 
-            errMsg.append(outputLimit/0x100000).append(") megabytes, in result ("); 
+            errMsg.append(outputLimit/0x100000).append(" megabytes), in result (");
             const char *name = helper.queryName();
             if (name)
                 errMsg.append("name=").append(name);
@@ -6074,7 +6074,7 @@ void CHThorDictionaryWorkUnitWriteActivity::execute()
     if(outputLimit && (rowdata.length()  > outputLimit))
     {
         StringBuffer errMsg("Dictionary too large to output to workunit (limit ");
-        errMsg.append(outputLimit/0x100000).append(") megabytes, in result (");
+        errMsg.append(outputLimit/0x100000).append(" megabytes), in result (");
         const char *name = helper.queryName();
         if (name)
             errMsg.append("name=").append(name);

+ 1 - 1
roxie/ccd/ccdserver.cpp

@@ -19599,7 +19599,7 @@ public:
             if (outputLimitBytes && result.length() > outputLimitBytes)
             {
                 StringBuffer errMsg("Dataset too large to output to workunit (limit ");
-                errMsg.append(outputLimitBytes/0x100000).append(") megabytes, in result (");
+                errMsg.append(outputLimitBytes/0x100000).append(" megabytes), in result (");
                 const char *name = helper.queryName();
                 if (name)
                     errMsg.append("name=").append(name);