Sfoglia il codice sorgente

HPCC-11920 Prevent SKIPiness leaking outside an ONFAIL

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 11 anni fa
parent
commit
539b99ca48
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      ecl/hql/hqlexpr.cpp

+ 3 - 1
ecl/hql/hqlexpr.cpp

@@ -3463,7 +3463,9 @@ void CHqlExpression::updateFlagsAfterOperands()
     case no_attr_link:
     case no_attr_expr:
         if (queryName() == onFailAtom)
-            infoFlags &= ~HEFonFailDependent;
+        {
+            infoFlags &= ~(HEFonFailDependent|HEFcontainsSkip); // ONFAIL(SKIP) - skip shouldn't extend any further
+        }
         infoFlags &= ~(HEFthrowscalar|HEFthrowds|HEFoldthrows);
         break;
     case no_clustersize: