(ctx context.Context, wg *sync.WaitGroup)
| 267 | } |
| 268 | |
| 269 | func (e *ParallelNestedLoopApplyExec) handleWorkerPanic(ctx context.Context, wg *sync.WaitGroup) { |
| 270 | if r := recover(); r != nil { |
| 271 | err := util.GetRecoverError(r) |
| 272 | logutil.Logger(ctx).Error("parallel nested loop join worker panicked", zap.Error(err), zap.Stack("stack")) |
| 273 | e.resultChkCh <- result{nil, err} |
| 274 | } |
| 275 | if wg != nil { |
| 276 | wg.Done() |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | // fetchAllInners reads all data from the inner table and stores them in a List. |
| 281 | func (e *ParallelNestedLoopApplyExec) fetchAllInners(ctx context.Context, id int) (err error) { |
no test coverage detected