Documentation ¶
Overview ¶
Package global provides information on global variables and status
Package global provides information on global variables and status
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMysqlError ¶ added in v1.1.6
IsMysqlError returns true if the given error matches the expected number
- format of MySQL error messages changed in database-sql-driver/mysql v1.7.0 so adjusting code to handle the expected format
Error 1109 (42S02): Unknown table 'GLOBAL_VARIABLES' in information_schema
Types ¶
type Status ¶
type Status struct {
// contains filtered or unexported fields
}
Status holds a handle to the database where the status can be queried
type Variables ¶
type Variables struct {
// contains filtered or unexported fields
}
Variables holds the handle and variables collected from the database
func NewVariables ¶
NewVariables returns a pointer to an initialised Variables structure with one collection done.
Click to show internal directories.
Click to hide internal directories.