Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: wjhuang2016 <[email protected]>
  • Loading branch information
wjhuang2016 committed Nov 22, 2021
1 parent 075d585 commit 43590d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion executor/distsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,6 @@ func (w *tableWorker) compareData(ctx context.Context, task *lookupTableTask, ta
tp := &col.FieldType
idxVal := idxRow.GetDatum(i, tp)
tablecodec.TruncateIndexValue(&idxVal, w.idxLookup.index.Columns[i], col.ColumnInfo)
cmpRes, err := idxVal.Compare(sctx, &val, collators[i])
cmpRes, err := idxVal.Compare(sctx, &vals[i], collators[i])
if err != nil {
return ErrDataInConsistentMisMatchIndex.GenWithStackByArgs(col.Name,
Expand Down

0 comments on commit 43590d5

Please sign in to comment.