Browse Source

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

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 7 years ago
parent
commit
7ccfdfba2e
1 changed files with 1 additions and 1 deletions
  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;