From 781a61908e18a42f8b218d48c9744b593ffcaa1e Mon Sep 17 00:00:00 2001 From: yisaer Date: Tue, 25 Oct 2022 11:10:53 +0800 Subject: [PATCH] address the comment Signed-off-by: yisaer --- executor/analyze_worker.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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(