Skip to content

Commit

Permalink
util/printer: add store to tidb_version() info (#35055)
Browse files Browse the repository at this point in the history
close #14487
  • Loading branch information
morgo authored May 31, 2022
1 parent f51460c commit 2c3f717
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions util/printer/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ func GetTiDBInfo() string {
"GoVersion: %s\n"+
"Race Enabled: %v\n"+
"TiKV Min Version: %s\n"+
"Check Table Before Drop: %v",
"Check Table Before Drop: %v\n"+
"Store: %s",
mysql.TiDBReleaseVersion,
versioninfo.TiDBEdition,
versioninfo.TiDBGitHash,
Expand All @@ -67,7 +68,9 @@ func GetTiDBInfo() string {
buildVersion,
israce.RaceEnabled,
versioninfo.TiKVMinVersion,
config.CheckTableBeforeDrop)
config.CheckTableBeforeDrop,
config.GetGlobalConfig().Store,
)
}

// checkValidity checks whether cols and every data have the same length.
Expand Down

0 comments on commit 2c3f717

Please sign in to comment.