MySQL 8.0.39
Source Code Documentation
Session_transaction_state Class Reference
Inheritance diagram for Session_transaction_state:
[legend]

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...
 

Constructor & Destructor Documentation

◆ Session_transaction_state()

Session_transaction_state::Session_transaction_state ( )
inline

Constructor.

Member Function Documentation

◆ check()

bool Session_transaction_state::check ( THD thd,
set_var var 
)
inlineoverridevirtual

To be invoked when the tracker's system variable is checked (ON_CHECK).

Implements State_tracker.

◆ enable()

bool Session_transaction_state::enable ( THD thd)
inlineoverridevirtual

Called in the constructor of THD.

Implements State_tracker.

◆ mark_as_changed()

void Session_transaction_state::mark_as_changed ( THD thd,
LEX_CSTRING  name 
)
inlineoverridevirtual

Mark the entity as changed.

Implements State_tracker.

◆ store()

bool Session_transaction_state::store ( THD thd,
String buf 
)
inlineoverridevirtual

Store changed data into the given buffer.

Implements State_tracker.

◆ update()

bool Session_transaction_state::update ( THD thd)
inlineoverridevirtual

To be invoked when the tracker's system variable is updated (ON_UPDATE).

Implements State_tracker.


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