MySQL 9.0.0
Source Code Documentation
Clone_Sys::Wait_stage Class Reference

RAII style wrapper to enter and exit wait stage. More...

#include <clone0clone.h>

Inheritance diagram for Clone_Sys::Wait_stage:
[legend]

Public Member Functions

 Wait_stage (const char *new_info)
 Constructor to change the THD information string. More...
 
 ~Wait_stage ()
 Destructor to revert back the old information string. More...
 

Private Attributes

const char * m_saved_info
 Saved old THD information string. More...
 

Additional Inherited Members

- Private Member Functions inherited from ut::Non_copyable
 Non_copyable (const Non_copyable &)=delete
 
Non_copyableoperator= (const Non_copyable &)=delete
 
 Non_copyable ()=default
 
 ~Non_copyable ()=default
 

Detailed Description

RAII style wrapper to enter and exit wait stage.

Constructor & Destructor Documentation

◆ Wait_stage()

Clone_Sys::Wait_stage::Wait_stage ( const char *  new_info)
explicit

Constructor to change the THD information string.

Parameters
[in]new_infonew information string

◆ ~Wait_stage()

Clone_Sys::Wait_stage::~Wait_stage ( )

Destructor to revert back the old information string.

Member Data Documentation

◆ m_saved_info

const char* Clone_Sys::Wait_stage::m_saved_info
private

Saved old THD information string.


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