Selaa lähdekoodia

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 7 vuotta sitten
vanhempi
commit
917705c663
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;