Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGlobalSystemVar ¶
func GetGlobalSystemVar(s *variable.SessionVars, key string) (string, error)
GetGlobalSystemVar gets a global system variable.
func GetSessionSystemVar ¶
func GetSessionSystemVar(s *variable.SessionVars, key string) (string, error)
GetSessionSystemVar gets a system variable. If it is a session only variable, use the default value defined in code. Returns error if there is no such variable.
func GoTimeToTS ¶
GoTimeToTS converts a Go time to uint64 timestamp.
func SetSessionSystemVar ¶
SetSessionSystemVar sets system variable and updates SessionVars states.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.