Documentation ¶
Index ¶
- Variables
- func ConvertGlobalStatus(key string, value sql.RawBytes) (interface{}, error)
- func ConvertGlobalVariables(key string, value sql.RawBytes) (interface{}, error)
- func ParseBoolAsInteger(value sql.RawBytes) (interface{}, error)
- func ParseFloat(value sql.RawBytes) (interface{}, error)
- func ParseGTIDMode(value sql.RawBytes) (interface{}, error)
- func ParseInt(value sql.RawBytes) (interface{}, error)
- func ParseString(value sql.RawBytes) (interface{}, error)
- func ParseUint(value sql.RawBytes) (interface{}, error)
- func ParseValue(value sql.RawBytes) (interface{}, error)
- type ConversionFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalStatusConversions = map[string]ConversionFunc{ "innodb_available_undo_logs": ParseUint, "innodb_buffer_pool_pages_misc": ParseUint, "innodb_data_pending_fsyncs": ParseUint, "ssl_ctx_verify_depth": ParseUint, "ssl_verify_depth": ParseUint, "wsrep_local_index": ParseUint, "wsrep_local_send_queue_avg": ParseFloat, }
View Source
var GlobalVariableConversions = map[string]ConversionFunc{ "delay_key_write": ParseString, "enforce_gtid_consistency": ParseString, "event_scheduler": ParseString, "have_openssl": ParseBoolAsInteger, "have_ssl": ParseBoolAsInteger, "have_symlink": ParseBoolAsInteger, "session_track_gtids": ParseString, "session_track_transaction_info": ParseString, "ssl_fips_mode": ParseString, "use_secondary_engine": ParseString, "transaction_write_set_extraction": ParseString, "slave_skip_errors": ParseString, "gtid_mode": ParseGTIDMode, }
Functions ¶
func ConvertGlobalStatus ¶
func ConvertGlobalVariables ¶
func ParseBoolAsInteger ¶
func ParseFloat ¶ added in v1.20.4
func ParseGTIDMode ¶
func ParseString ¶ added in v1.20.3
func ParseValue ¶
Types ¶
type ConversionFunc ¶
Click to show internal directories.
Click to hide internal directories.