Explorar o código

Merge pull request #12722 from ghalliday/issue22409

HPCC-22409 Remove addGroup() which prevents expressions being reused

Reviewed-By: Shamser Ahmed <shamser.ahmed@lexisnexis.co.uk>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=6) %!d(string=hai) anos
pai
achega
2729eb4447
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      ecl/hqlcpp/hqlcset.cpp

+ 0 - 1
ecl/hqlcpp/hqlcset.cpp

@@ -2229,7 +2229,6 @@ void HqlCppTranslator::buildSetAssign(BuildCtx & ctx, IHqlCppSetBuilder * builde
                 {
                     //Need a subcontext otherwise sizeof(target-row) gets cached.
                     BuildCtx subctx(ctx);       
-                    subctx.addGroup();
                     Owned<IReferenceSelector> selector = builder->buildCreateElement(subctx);
                     selector->set(subctx, expr->queryChild(i));
                     builder->finishElement(subctx);