MySQL  8.0.27
Source Code Documentation
rpl_io_monitor.cc File Reference

Functions

static bool restart_io_thread (THD *thd, const std::string &channel_name, bool force_sender_with_highest_weight)
 Restart the IO thread of the given channel. More...
 
MYSQL_RES_TUPLE execute_query (const Mysql_connection *conn, enum_sql_query_tag qtag)
 
static void * launch_handler_thread (void *arg)
 

Variables

static const char * SQL_QUERIES []
 

Function Documentation

◆ execute_query()

MYSQL_RES_TUPLE execute_query ( const Mysql_connection conn,
enum_sql_query_tag  qtag 
)

◆ launch_handler_thread()

static void* launch_handler_thread ( void *  arg)
static

◆ restart_io_thread()

static bool restart_io_thread ( THD thd,
const std::string &  channel_name,
bool  force_sender_with_highest_weight 
)
static

Restart the IO thread of the given channel.

Parameters
[in]thdThe running thread.
[in]channel_namethe channel IO thread to restart.
[in]force_sender_with_highest_weightWhen true, sender with highest weight is chosen, otherwise the next sender from the current one is chosen.
Returns
true if IO thread was restarted, false otherwise.

Variable Documentation

◆ SQL_QUERIES

const char* SQL_QUERIES[]
static