Skip to content

Commit

Permalink
pkg/backup: fix test case br_autoid for the previous cherry-pick (#46257
Browse files Browse the repository at this point in the history
)

ref #46093
  • Loading branch information
tiancaiamao authored Aug 21, 2023
1 parent 7de3979 commit 8040e28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions br/pkg/backup/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,8 @@ func BuildBackupRangeAndSchema(
// Print a warning in other scenes, should it be a INFO log?
log.Warn("get rowid error", zap.Error(err1))
}
// NextGlobalAutoID = globalAutoID + 1
globalAutoID = globalAutoID + 1
} else {
globalAutoID, err = idAlloc.NextGlobalAutoID()
}
Expand Down

0 comments on commit 8040e28

Please sign in to comment.