MySQL 9.7.0
Source Code Documentation
gr_resource_manager::GR_resource_manager Class Reference

This class will be used to execute SQL Queries. More...

#include <resource_manager_channel_lag.h>

Static Public Member Functions

static int fetch_channel_lag (std::vector< lag_record > &record)
 Execute a SQL Query and fetch the lag for group replication applier channel and recovery channel. More...
 
static bool is_debug_variable_present (const std::string &variable)
 Check if the passed string is present in GLOBAL.DEBUG or not. More...
 

Detailed Description

This class will be used to execute SQL Queries.

For each SQL Query run a new function needs to be implemented.

Member Function Documentation

◆ fetch_channel_lag()

int gr_resource_manager::GR_resource_manager::fetch_channel_lag ( std::vector< lag_record > &  record)
static

Execute a SQL Query and fetch the lag for group replication applier channel and recovery channel.

Parameters
[out]recordGroup replication channels lag
Return values
0Query execution success
1Query execution failed

◆ is_debug_variable_present()

bool gr_resource_manager::GR_resource_manager::is_debug_variable_present ( const std::string &  variable)
static

Check if the passed string is present in GLOBAL.DEBUG or not.

Parameters
[in]variabledebug string to check in GLOBAL.DEBUG
Return values
truestring is present in GLOBAL.DEBUG
falsestring is not present in GLOBAL.DEBUG

The documentation for this class was generated from the following files: