# Functions
BuildAtomicQuery concatenates the provided queries into a single query wrapped in a BEGIN COMMIT block.
BuildUserManagementSQL returns a Query that creates a user and grants it permissions.
No description provided by the author
CheckReadOnly check whether the mysql is read only.
check readonly node, rpl_semi_sync_slave_enabled.
CheckSlaveStatus check the slave status.
CheckSlaveStatusWithRetry check the slave status with retry time.
check Super readonly.
ConcatenateQueries concatenates the provided queries into a single query.
DropUser removes a MySQL user if it exists, along with its privileges.
Escape escapes a string.
GetGlobalVariable used to get the global variable by param.
NewConfigFromClusterKey returns a new Config based on a MySQLCluster key.
No description provided by the author
No description provided by the author
No description provided by the author
NewQuery returns a new Query object.
No description provided by the author
NewSQLRunner opens a connections using the given DSN.
No description provided by the author
NewXenonHttpRequest returns the http request of the corresponding type according to the incoming configuration.
# Structs
Config is used to connect to a MysqlCluster.
No description provided by the author
Query contains a escaped query string with variables marked with a question mark (?) and a slice of positional arguments.
No description provided by the author
RequestConfig is the configuration required to get xenon http requests.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
SQLRunner interface is a subset of mysql.DB.
No description provided by the author
# Type aliases
SQLRunnerFactory a function that generates a new SQLRunner.