Skip to content

Commit

Permalink
Use producer node as source
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMpn committed Sep 27, 2023
1 parent efec67c commit 165577d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MarkMpn.Sql4Cds.Engine/ExecutionPlan/TableSpoolNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ internal int GetCount(NodeExecutionContext context)

protected override IEnumerable<Entity> ExecuteInternal(NodeExecutionContext context)
{
if (Producer != null)
return Producer.GetWorkTable();

if (SpoolType == SpoolType.Eager)
{
if (_eagerSpool == null)
Expand Down

0 comments on commit 165577d

Please sign in to comment.