소스 검색

Merge pull request #5553 from ghalliday/issue11043

HPCC-11043 Add newlines to prevent gigantic lines in logging

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 년 전
부모
커밋
efd1382477
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      ecl/hql/hqlthql.cpp

+ 2 - 1
ecl/hql/hqlthql.cpp

@@ -1811,6 +1811,7 @@ void HqltHql::toECL(IHqlExpression *expr, StringBuffer &s, bool paren, bool inTy
                 bool first = true;
                 expandTransformValues(s, cur, first);
                 s.append("}");
+                queryNewline(s);
                 if (xgmmlGraphText)
                 {
                     if (child0->numChildren() != 1)
@@ -2035,7 +2036,7 @@ void HqltHql::toECL(IHqlExpression *expr, StringBuffer &s, bool paren, bool inTy
                 IValue * value = child0->queryValue();
                 if (value)
                     value->getUTF8Value(s);
-                s.append("ENDC++");
+                s.append("ENDC++\n");
                 break;
             }
         case no_nofold: