Browse Source

HPCC-22687 Allow SKIP(FALSE) on a ROW TRANSFORM

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 5 years ago
parent
commit
5210f6280c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ecl/hqlcpp/hqlhtcpp.cpp

+ 1 - 1
ecl/hqlcpp/hqlhtcpp.cpp

@@ -9070,7 +9070,7 @@ void HqlCppTranslator::doBuildStmtSkip(BuildCtx & ctx, IHqlExpression * expr, bo
                     *canReachFollowing = false;
             }
         }
-        else
+        else if (!cond || !matchesBoolean(cond, false))
             throwError(HQLERR_SkipNotValidHere);
     }
 }