Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TiDBBuildTS = "None" TiDBGitHash = "None" TiDBGitBranch = "None" GoVersion = "None" // TiKVMinVersion is the minimum version of TiKV that can be compatible with the current TiDB. TiKVMinVersion = "1.1.0-dev.2" )
Version information.
Functions ¶
func GetPrintResult ¶
GetPrintResult gets a result with a formatted string.
func GetTiDBInfo ¶
func GetTiDBInfo() string
GetTiDBInfo returns the git hash and build time of this tidb-server binary.
func PrintRawTiDBInfo ¶
func PrintRawTiDBInfo()
PrintRawTiDBInfo prints the TiDB version information without log info.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.