Skip to content

Commit

Permalink
fix checkpoint panic
Browse files Browse the repository at this point in the history
Signed-off-by: Leavrth <[email protected]>
  • Loading branch information
Leavrth authored and ti-chi-bot committed Jan 29, 2023
1 parent 14c7dce commit ae02121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/backup/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (ss *Schemas) BackupSchemas(

var checksum *checkpoint.ChecksumItem
var exists bool = false
if ss.checkpointChecksum != nil {
if ss.checkpointChecksum != nil && schema.tableInfo != nil {
checksum, exists = ss.checkpointChecksum[schema.tableInfo.ID]
}
workerPool.ApplyOnErrorGroup(errg, func() error {
Expand Down

0 comments on commit ae02121

Please sign in to comment.