diff --git a/executor/analyze_worker.go b/executor/analyze_worker.go index ae30b773e0d1e..0297b142dbb14 100644 --- a/executor/analyze_worker.go +++ b/executor/analyze_worker.go @@ -25,10 +25,9 @@ import ( ) type analyzeSaveStatsWorker struct { - resultsCh <-chan *statistics.AnalyzeResults - sctx sessionctx.Context - errCh chan<- error - checkHistoricalStatsEnable bool + resultsCh <-chan *statistics.AnalyzeResults + sctx sessionctx.Context + errCh chan<- error } func newAnalyzeSaveStatsWorker(