Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: zyguan <zhongyangguan@gmail.com>
  • Loading branch information
zyguan committed Jul 24, 2022
1 parent be6e2c9 commit f65ec97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executor/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ func updateRecord(ctx context.Context, sctx sessionctx.Context, h kv.Handle, old
return false, err
}
unchangedUniqueKey, _, err := idx.GenIndexKey(sc, ukVals, h, nil)
if err != nil {
return false, err
}
txnCtx.AddUnchangedLockKey(unchangedUniqueKey)
}
}
Expand Down

0 comments on commit f65ec97

Please sign in to comment.