Skip to content

Commit

Permalink
decode origin value for temp index value
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Dec 14, 2022
1 parent ed31971 commit ba41383
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions executor/insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ func (e *InsertExec) batchUpdateDupRows(ctx context.Context, newRows [][]types.D
if tablecodec.CheckTempIndexValueIsDelete(val) {
continue
}
val = tablecodec.DecodeTempIndexOriginValue(val)
}
handle, err := tablecodec.DecodeHandleInUniqueIndexValue(val, uk.commonHandle)
if err != nil {
Expand Down

0 comments on commit ba41383

Please sign in to comment.