Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 committed Apr 3, 2023
1 parent 5ac3de1 commit fbff55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/distsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ func (w *indexWorker) fetchHandles(ctx context.Context, results []distsql.Select
func (w *indexWorker) extractTaskHandles(ctx context.Context, chk *chunk.Chunk, idxResult distsql.SelectResult) (
handles []kv.Handle, retChk *chunk.Chunk, err error) {
numColsWithoutPid := chk.NumCols()
if w.idxLookup.index.Global || len(w.idxLookup.byItems) > 0 {
if w.idxLookup.hasExtralPidCol() {
numColsWithoutPid = numColsWithoutPid - 1
}
handleOffset := make([]int, 0, len(w.idxLookup.handleCols))
Expand Down

0 comments on commit fbff55a

Please sign in to comment.