Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yisaer committed Dec 12, 2022
1 parent 1455b63 commit da4b738
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions statistics/handle/hisotrical_stats_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ import (
)

const (
StatsMetaHistorySourceAnalyze = "analyze"
StatsMetaHistorySourceLoadStats = "load stats"
StatsMetaHistorySourceFlushStats = "flush stats"
// StatsMetaHistorySourceAnalyze indicates stats history meta source from analyze
StatsMetaHistorySourceAnalyze = "analyze"
// StatsMetaHistorySourceLoadStats indicates stats history meta source from load stats
StatsMetaHistorySourceLoadStats = "load stats"
// StatsMetaHistorySourceFlushStats indicates stats history meta source from flush stats
StatsMetaHistorySourceFlushStats = "flush stats"
// StatsMetaHistorySourceExtendedStats indicates stats history meta source from extended stats
StatsMetaHistorySourceExtendedStats = "extended stats"
StatsMetaHistorySourceSchemaChange = "schema change"
StatsMetaHistorySourceFeedBack = "feedback"
// StatsMetaHistorySourceSchemaChange indicates stats history meta source from schema change
StatsMetaHistorySourceSchemaChange = "schema change"
// StatsMetaHistorySourceFeedBack indicates stats history meta source from feedback
StatsMetaHistorySourceFeedBack = "feedback"
)

func recordHistoricalStatsMeta(sctx sessionctx.Context, tableID int64, version uint64, source string) error {
Expand Down

0 comments on commit da4b738

Please sign in to comment.