diff --git a/statistics/handle/handle.go b/statistics/handle/handle.go index 872cdc3daf16f..4038477a29bee 100644 --- a/statistics/handle/handle.go +++ b/statistics/handle/handle.go @@ -194,7 +194,6 @@ func NewHandle(ctx sessionctx.Context, lease time.Duration, pool sessionPool) (* pool: pool, } handle.lease.Store(lease) - handle.pool = pool handle.statsCache.memTracker = memory.NewTracker(memory.LabelForStatsCache, -1) handle.mu.ctx = ctx handle.mu.rateMap = make(errorRateDeltaMap)