Explorar o código

Merge pull request #6241 from ghalliday/issue11920

HPCC-11920 Prevent SKIPiness leaking outside an ONFAIL

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=11) %!d(string=hai) anos
pai
achega
8657a3e7ea
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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: