Explorar o código

Merge pull request #10664 from richardkchapman/fold-recordof

HPCC-18765 Calls taking recordof() not being constant folded.

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday %!s(int64=7) %!d(string=hai) anos
pai
achega
917705c663
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ecl/hql/hqlfold.cpp

+ 1 - 1
ecl/hql/hqlfold.cpp

@@ -598,7 +598,7 @@ bool checkExternFoldable(IHqlExpression* expr, unsigned foldOptions, StringBuffe
     {
         switch (expr->queryChild(iparam)->getOperator())
         {
-        case no_constant: case no_null: case no_all:  // NOTE: no_all still needs work elsewhere before it will be supported fully
+        case no_record: case no_constant: case no_null: case no_all:  // NOTE: no_all still needs work elsewhere before it will be supported fully
             break;
         default:
             return false;