MySQL 8.3.0
Source Code Documentation
Reconnect_messages Struct Reference

Encapsulates the messages and thread stages used for a specific call to try_to_reconnect. More...

Public Attributes

PSI_stage_infostage_waiting_to_reconnect
 Stage used while waiting to reconnect. More...
 
std::string error_killed_while_waiting
 Error reported in case the thread is killed while waiting. More...
 
PSI_stage_infostage_reconnecting
 Stage used while reconnecting. More...
 
std::string triggering_error
 Description of the condition that caused the thread to reconnect. More...
 
std::string triggering_command
 The string representation of the enum_server_command that had been sent to the source before condition that caused the thread to reconnect happened. More...
 

Detailed Description

Encapsulates the messages and thread stages used for a specific call to try_to_reconnect.

Different Reconnect_messages objects may be used by the caller of try_to_reconnect in order to make the errors and stages include text that describes the reason for the reconnect.

Member Data Documentation

◆ error_killed_while_waiting

std::string Reconnect_messages::error_killed_while_waiting

Error reported in case the thread is killed while waiting.

◆ stage_reconnecting

PSI_stage_info& Reconnect_messages::stage_reconnecting

Stage used while reconnecting.

◆ stage_waiting_to_reconnect

PSI_stage_info& Reconnect_messages::stage_waiting_to_reconnect

Stage used while waiting to reconnect.

◆ triggering_command

std::string Reconnect_messages::triggering_command

The string representation of the enum_server_command that had been sent to the source before condition that caused the thread to reconnect happened.

◆ triggering_error

std::string Reconnect_messages::triggering_error

Description of the condition that caused the thread to reconnect.


The documentation for this struct was generated from the following file: