MySQL 9.0.0
Source Code Documentation
|
Public Member Functions | |
Session_transaction_state () | |
Constructor. More... | |
bool | enable (THD *) override |
Called in the constructor of THD. More... | |
bool | check (THD *, set_var *) override |
To be invoked when the tracker's system variable is checked (ON_CHECK). More... | |
bool | update (THD *) override |
To be invoked when the tracker's system variable is updated (ON_UPDATE). More... | |
bool | store (THD *, String &) override |
Store changed data into the given buffer. More... | |
void | mark_as_changed (THD *, LEX_CSTRING) override |
Mark the entity as changed. More... | |
Public Member Functions inherited from State_tracker | |
State_tracker () | |
Constructor. More... | |
virtual | ~State_tracker ()=default |
Destructor. More... | |
bool | is_enabled () const |
Getters. More... | |
bool | is_changed () const |
virtual void | claim_memory_ownership (bool claim) |
Additional Inherited Members | |
Protected Attributes inherited from State_tracker | |
bool | m_enabled |
Is tracking enabled for a particular session state type ? More... | |
bool | m_changed |
Has the session state type changed ? More... | |
|
inline |
Constructor.
To be invoked when the tracker's system variable is checked (ON_CHECK).
Implements State_tracker.
|
inlineoverridevirtual |
Called in the constructor of THD.
Implements State_tracker.
|
inlineoverridevirtual |
Mark the entity as changed.
Implements State_tracker.
Store changed data into the given buffer.
Implements State_tracker.
|
inlineoverridevirtual |
To be invoked when the tracker's system variable is updated (ON_UPDATE).
Implements State_tracker.