Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Defined2014 committed May 25, 2023
1 parent 894f881 commit d49be78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3880,8 +3880,8 @@ func buildIndexReq(ctx sessionctx.Context, columns []*model.IndexColumn, handleL
indexReq.OutputOffsets = append(indexReq.OutputOffsets, uint32(len(columns)+i))
}

// need add one more column for pid or physical table id or not
if idxScan.NeedExtraOutputCol() {
// need add one more column for pid or physical table id
indexReq.OutputOffsets = append(indexReq.OutputOffsets, uint32(len(columns)+handleLen))
}
return indexReq, err
Expand Down

0 comments on commit d49be78

Please sign in to comment.