v2

package
v1.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 5 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 ConvertGlobalStatus(key string, value sql.RawBytes) (interface{}, error)

func ConvertGlobalVariables

func ConvertGlobalVariables(key string, value sql.RawBytes) (interface{}, error)

func ParseBoolAsInteger

func ParseBoolAsInteger(value sql.RawBytes) (interface{}, error)

func ParseFloat added in v1.20.4

func ParseFloat(value sql.RawBytes) (interface{}, error)

func ParseGTIDMode

func ParseGTIDMode(value sql.RawBytes) (interface{}, error)

func ParseInt

func ParseInt(value sql.RawBytes) (interface{}, error)

func ParseString added in v1.20.3

func ParseString(value sql.RawBytes) (interface{}, error)

func ParseUint added in v1.20.3

func ParseUint(value sql.RawBytes) (interface{}, error)

func ParseValue

func ParseValue(value sql.RawBytes) (interface{}, error)

Types

type ConversionFunc

type ConversionFunc func(value sql.RawBytes) (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL