ソースを参照

Merge pull request #5137 from ghalliday/issue10390

HPCC-10390 Fix internal error generated by <dataset> : WHEN

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 年 前
コミット
30f7883441
1 ファイル変更1 行追加1 行削除
  1. 1 1
      ecl/hqlcpp/hqlttcpp.cpp

+ 1 - 1
ecl/hqlcpp/hqlttcpp.cpp

@@ -5895,7 +5895,7 @@ IHqlExpression * WorkflowTransformer::extractWorkflow(IHqlExpression * untransfo
         Owned<IWorkflowItem> wf = addWorkflowToWorkunit(schedWfid, WFTypeNormal, WFModeNormal, queryDirectDependencies(getValue), info.queryCluster());
         setWorkflowSchedule(wf, sched);
         workflowOut->append(*createWorkflowItem(getValue, schedWfid, no_none));
-        getValue.setown(createValue(no_null, makeVoidType()));
+        getValue.setown(createNullExpr(expr->queryType()));
     }
     else
         queryBodyExtra(getValue.get())->addDependency(wfid);