浏览代码

Merge pull request #4147 from ghalliday/issue9003

HPCC-9003 Check inside expression attributes for evaluation in thor.

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 12 年之前
父节点
当前提交
bc8c16b252
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ecl/hqlcpp/hqlttcpp.cpp

+ 2 - 2
ecl/hqlcpp/hqlttcpp.cpp

@@ -657,7 +657,6 @@ IHqlExpression * HqlThorBoundaryTransformer::createTransformed(IHqlExpression *
     case no_field:
     case no_constant:
     case no_attr:
-    case no_attr_expr:
     case no_attr_link:
     case no_getresult:
     case no_left:
@@ -991,7 +990,8 @@ void HqlCppTranslator::markThorBoundaries(WorkflowArray & array)
     HqlThorBoundaryTransformer thorTransformer(wu(), targetRoxie(), options.maxRootMaybeThorActions, options.resourceConditionalActions, options.resourceSequential);
     ForEachItemIn(idx, array)
     {
-        HqlExprArray & exprs = array.item(idx).queryExprs();
+        WorkflowItem & cur = array.item(idx);
+        HqlExprArray & exprs = cur.queryExprs();
         HqlExprArray bounded;
 
         thorTransformer.transformRoot(exprs, bounded);