Skip to content

Commit

Permalink
revert unnecessary change
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Aug 15, 2023
1 parent 22cf55f commit 24d00ab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ddl/index_cop.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,12 +506,7 @@ func constructTableScanPB(sCtx sessionctx.Context, tblInfo *model.TableInfo, col
return &tipb.Executor{Tp: tipb.ExecType_TypeTableScan, TblScan: tblScan}, err
}

func extractDatumByOffsets(
row chunk.Row,
offsets []int,
expCols []*expression.Column,
buf []types.Datum,
) []types.Datum {
func extractDatumByOffsets(row chunk.Row, offsets []int, expCols []*expression.Column, buf []types.Datum) []types.Datum {
for _, offset := range offsets {
c := expCols[offset]
rowDt := row.GetDatum(offset, c.GetType())
Expand Down

0 comments on commit 24d00ab

Please sign in to comment.