Skip to content

Commit

Permalink
cherry pick pingcap#35820 to release-5.1
Browse files Browse the repository at this point in the history
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
  • Loading branch information
guo-shaoge authored and ti-srebot committed Jul 11, 2022
1 parent c35fa2e commit 5f65b8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion executor/index_lookup_hash_join.go
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,10 @@ func (iw *indexHashJoinInnerWorker) handleTask(ctx context.Context, task *indexH
if task.keepOuterOrder {
if err != nil {
joinResult.err = err
resultCh <- joinResult
select {
case <-ctx.Done():
case resultCh <- joinResult:
}
}
close(resultCh)
}
Expand Down

0 comments on commit 5f65b8a

Please sign in to comment.