Skip to content

Commit

Permalink
lightning: update util.go (pingcap#53204)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear authored and RidRisR committed May 23, 2024
1 parent 8d799c7 commit 6a7dc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lightning/common/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ loop:
continue
}
// Skip index that contains auto-increment column.
// Because auto colum must be defined as a key.
// Because auto column must be defined as a key.
for _, idxCol := range idxInfo.Columns {
flag := cols[idxCol.Offset].GetFlag()
if tmysql.HasAutoIncrementFlag(flag) {
Expand Down

0 comments on commit 6a7dc75

Please sign in to comment.