Skip to content

Commit

Permalink
statistics: fix small typo (#52685)
Browse files Browse the repository at this point in the history
  • Loading branch information
winoros committed Apr 17, 2024
1 parent ba0ebc5 commit 53c050b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/statistics/handle/storage/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -702,10 +702,10 @@ func loadNeededIndexHistograms(sctx sessionctx.Context, statsCache statstypes.St
tbl.LastAnalyzeVersion = max(tbl.LastAnalyzeVersion, idxHist.LastUpdateVersion)
statsCache.UpdateStatsCache([]*statistics.Table{tbl}, nil)
if idx.IsSyncLoadFailed {
logutil.BgLogger().Warn("Hist for column should already be loaded as sync but not found.",
logutil.BgLogger().Warn("Hist for index should already be loaded as sync but not found.",
zap.Int64("table_id", idx.TableID),
zap.Int64("column_id", idxHist.Info.ID),
zap.String("column_name", idxHist.Info.Name.O))
zap.Int64("index_id", idxHist.Info.ID),
zap.String("index_name", idxHist.Info.Name.O))
}
statistics.HistogramNeededItems.Delete(idx)
return nil
Expand Down

0 comments on commit 53c050b

Please sign in to comment.