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

Detailed Description

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.

See also
get_thread_transaction_locker_v1_t

Member Data Documentation

◆ m_autocommit

bool PSI_transaction_locker_state_v1::m_autocommit

True if transaction is autocommit.

◆ m_class

void* PSI_transaction_locker_state_v1::m_class

Instrumentation class.

◆ m_flags

unsigned int PSI_transaction_locker_state_v1::m_flags

Internal state.

◆ m_read_only

bool PSI_transaction_locker_state_v1::m_read_only

True if read-only transaction, false if read-write.

◆ m_release_savepoint_count

unsigned long PSI_transaction_locker_state_v1::m_release_savepoint_count

Number of release_savepoint.

◆ m_rollback_to_savepoint_count

unsigned long PSI_transaction_locker_state_v1::m_rollback_to_savepoint_count

Number of rollback_to_savepoint.

◆ m_savepoint_count

unsigned long PSI_transaction_locker_state_v1::m_savepoint_count

Total number of savepoints.

◆ m_statement_count

unsigned long PSI_transaction_locker_state_v1::m_statement_count

Number of statements.

◆ m_thread

struct PSI_thread* PSI_transaction_locker_state_v1::m_thread

Current thread.

◆ m_timer

unsigned long long(* PSI_transaction_locker_state_v1::m_timer) (void)

Timer function.

◆ m_timer_start

unsigned long long PSI_transaction_locker_state_v1::m_timer_start

Timer start.

◆ m_transaction

void* PSI_transaction_locker_state_v1::m_transaction

Internal data.


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