diff --git a/pkg/executor/builder.go b/pkg/executor/builder.go index 32a97f77ef317..387817efda142 100644 --- a/pkg/executor/builder.go +++ b/pkg/executor/builder.go @@ -3995,6 +3995,7 @@ func buildNoRangeIndexLookUpReader(b *executorBuilder, v *plannercore.PhysicalIn if err != nil { return nil, err } + e := &IndexLookUpExecutor{ indexLookUpExecutorContext: newIndexLookUpExecutorContext(b.ctx), BaseExecutorV2: exec.NewBaseExecutorV2(b.ctx.GetSessionVars(), v.Schema(), v.ID()),