Skip to content

Commit

Permalink
fix 40843
Browse files Browse the repository at this point in the history
  • Loading branch information
Yisaer committed Jan 30, 2023
1 parent 3665657 commit 3da9bf2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions domain/historical_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ type HistoricalStatsWorker struct {

// SendTblToDumpHistoricalStats send tableID to worker to dump historical stats
func (w *HistoricalStatsWorker) SendTblToDumpHistoricalStats(tableID int64) {
if !enableDumpHistoricalStats.Load() {
return
}
w.tblCH <- tableID
}

Expand Down

0 comments on commit 3da9bf2

Please sign in to comment.