MySQL  8.0.27
Source Code Documentation
Clone_handler::XA_Block Struct Reference

#include <clone_handler.h>

Public Member Functions

 XA_Block (THD *thd)
 Constructor: Block all XA operations. More...
 
 ~XA_Block ()
 Destructor: unblock XA operations. More...
 
 XA_Block (XA_Block const &)=delete
 Disable copy construction. More...
 
XA_Blockoperator= (XA_Block const &)=delete
 Disable assignment. More...
 
bool failed () const
 

Private Attributes

bool m_success
 If blocking is successful and there is no XA operations. More...
 

Constructor & Destructor Documentation

◆ XA_Block() [1/2]

Clone_handler::XA_Block::XA_Block ( THD thd)
explicit

Constructor: Block all XA operations.

Parameters
[in]thdsession thread

◆ ~XA_Block()

Clone_handler::XA_Block::~XA_Block ( )

Destructor: unblock XA operations.

◆ XA_Block() [2/2]

Clone_handler::XA_Block::XA_Block ( XA_Block const &  )
delete

Disable copy construction.

Member Function Documentation

◆ failed()

bool Clone_handler::XA_Block::failed ( ) const
Returns
true, if XA blocking is unsuccessful.

◆ operator=()

XA_Block& Clone_handler::XA_Block::operator= ( XA_Block const &  )
delete

Disable assignment.

Member Data Documentation

◆ m_success

bool Clone_handler::XA_Block::m_success
private

If blocking is successful and there is no XA operations.


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