Browse Source

Merge pull request #8705 from ghalliday/issue15611

HPCC-15611 Do not percolate constants into a keyed distribute condition

Reviewed-By: Shamser Ahmed <shamser.ahmed@lexisnexis.co.uk>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 years ago
parent
commit
0718381662
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ecl/hql/hqlfold.cpp

+ 1 - 0
ecl/hql/hqlfold.cpp

@@ -5500,6 +5500,7 @@ IHqlExpression * CExprFolderTransformer::percolateConstants(IHqlExpression * exp
         }
     case no_loop:
     case no_graphloop:
+    case no_keyeddistribute:
         //Safer to do nothing...
         break;
     case no_select: