MySQL 9.1.0
Source Code Documentation
|
RAII style guard for begin & end of snapshot state transition. More...
#include <clone0snapshot.h>
Public Member Functions | |
State_transit (Clone_Snapshot *snapshot, Snapshot_State new_state) | |
Constructor to begin state transition. More... | |
~State_transit () | |
Destructor to end state transition. More... | |
int | get_error () const |
State_transit (State_transit const &)=delete | |
Disable copy construction. More... | |
State_transit & | operator= (State_transit const &)=delete |
Disable assignment. More... | |
Private Attributes | |
Clone_Snapshot * | m_snapshot |
Clone Snapshot. More... | |
int | m_error |
Saved error while beginning transition. More... | |
RAII style guard for begin & end of snapshot state transition.
|
explicit |
Constructor to begin state transition.
[in,out] | snapshot | Clone Snapshot |
[in] | new_state | State to transit |
Clone_Snapshot::State_transit::~State_transit | ( | ) |
Destructor to end state transition.
|
delete |
Disable copy construction.
|
inline |
|
delete |
Disable assignment.
|
private |
Saved error while beginning transition.
|
private |
Clone Snapshot.