فهرست منبع

Merge pull request #7778 from ghalliday/issue14196

HPCC-14196 Fix out of order graph result access caused by HPCC-14196

Reviewed-By: Jamie Noss <james.noss@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 سال پیش
والد
کامیت
163c35ae93
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      ecl/hqlcpp/hqlresource.cpp

+ 2 - 1
ecl/hqlcpp/hqlresource.cpp

@@ -2740,7 +2740,8 @@ IHqlExpression * SpillerInfo::createSpilledWrite(IHqlExpression * transformed, b
 
 
 void SpillerInfo::setPotentialSpillFile(IHqlExpression * expr)
 void SpillerInfo::setPotentialSpillFile(IHqlExpression * expr)
 {
 {
-    if (!expr || canUseResultInChildQuery(expr) || !isUsedFromChild())
+    if (!expr ||
+        ((canUseResultInChildQuery(expr) || !isUsedFromChild()) && (expr->getOperator() != no_setgraphresult)))
         outputToUseForSpill = expr;
         outputToUseForSpill = expr;
 }
 }