MySQL 9.1.0
Source Code Documentation
|
State data storage for get_thread_transaction_locker_v1_t
, get_thread_transaction_locker_v1_t
.
More...
#include <psi_transaction_bits.h>
Public Attributes | |
unsigned int | m_flags |
Internal state. More... | |
void * | m_class |
Instrumentation class. More... | |
struct PSI_thread * | m_thread |
Current thread. More... | |
unsigned long long | m_timer_start |
Timer start. More... | |
unsigned long long(* | m_timer )(void) |
Timer function. More... | |
void * | m_transaction |
Internal data. More... | |
bool | m_read_only |
True if read-only transaction, false if read-write. More... | |
bool | m_autocommit |
True if transaction is autocommit. More... | |
unsigned long | m_statement_count |
Number of statements. More... | |
unsigned long | m_savepoint_count |
Total number of savepoints. More... | |
unsigned long | m_rollback_to_savepoint_count |
Number of rollback_to_savepoint. More... | |
unsigned long | m_release_savepoint_count |
Number of release_savepoint. More... | |
State data storage for get_thread_transaction_locker_v1_t
, get_thread_transaction_locker_v1_t
.
This structure provide temporary storage to a transaction locker. The content of this structure is considered opaque, the fields are only hints of what an implementation of the psi interface can use. This memory is provided by the instrumented code for performance reasons.
bool PSI_transaction_locker_state_v1::m_autocommit |
True if transaction is autocommit.
void* PSI_transaction_locker_state_v1::m_class |
Instrumentation class.
unsigned int PSI_transaction_locker_state_v1::m_flags |
Internal state.
bool PSI_transaction_locker_state_v1::m_read_only |
True if read-only transaction, false if read-write.
unsigned long PSI_transaction_locker_state_v1::m_release_savepoint_count |
Number of release_savepoint.
unsigned long PSI_transaction_locker_state_v1::m_rollback_to_savepoint_count |
Number of rollback_to_savepoint.
unsigned long PSI_transaction_locker_state_v1::m_savepoint_count |
Total number of savepoints.
unsigned long PSI_transaction_locker_state_v1::m_statement_count |
Number of statements.
struct PSI_thread* PSI_transaction_locker_state_v1::m_thread |
Current thread.
unsigned long long(* PSI_transaction_locker_state_v1::m_timer) (void) |
Timer function.
unsigned long long PSI_transaction_locker_state_v1::m_timer_start |
Timer start.
void* PSI_transaction_locker_state_v1::m_transaction |
Internal data.