Browse Source

HPCC-19815 Fix regressions in the previous fix

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 7 years ago
parent
commit
62b96673f1
1 changed files with 3 additions and 2 deletions
  1. 3 2
      ecl/hqlcpp/hqlhtcpp.cpp

+ 3 - 2
ecl/hqlcpp/hqlhtcpp.cpp

@@ -19526,10 +19526,11 @@ static bool needsRealThor(IHqlExpression *expr, unsigned flags)
                 child0 = child0->queryChild(0);
             switch (child0->getOperator())
             {
+            case no_call:
             case no_externalcall:
-                if (callIsActivity(expr))
+                if (callIsActivity(child0))
                     return true;
-                return false;
+                break;
             case no_constant:
             case no_all:
                 return false;