Skip to content

Commit

Permalink
lightning: update util.go (#53204)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed May 13, 2024
1 parent dcd1fa9 commit dd177a8
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 dd177a8

Please sign in to comment.