MySQL 9.1.0
Source Code Documentation
psi_transaction_bits.h File Reference

Performance schema instrumentation interface. More...

Go to the source code of this file.

Classes

struct  PSI_transaction_locker_state_v1
 State data storage for get_thread_transaction_locker_v1_t, get_thread_transaction_locker_v1_t. More...
 

Typedefs

typedef struct PSI_transaction_locker PSI_transaction_locker
 
typedef struct PSI_transaction_locker_state_v1 PSI_transaction_locker_state_v1
 
typedef struct PSI_transaction_locker *(* get_thread_transaction_locker_v1_t) (struct PSI_transaction_locker_state_v1 *state, const void *xid, const unsigned long long *trxid, int isolation_level, bool read_only, bool autocommit)
 Get a transaction instrumentation locker. More...
 
typedef void(* start_transaction_v1_t) (struct PSI_transaction_locker *locker, const char *src_file, unsigned int src_line)
 Start a new transaction event. More...
 
typedef void(* set_transaction_xid_v1_t) (struct PSI_transaction_locker *locker, const void *xid, int xa_state)
 Set the transaction xid. More...
 
typedef void(* set_transaction_xa_state_v1_t) (struct PSI_transaction_locker *locker, int xa_state)
 Set the state of the XA transaction. More...
 
typedef void(* set_transaction_gtid_v1_t) (struct PSI_transaction_locker *locker, const void *sid, const void *gtid_spec)
 Set the transaction gtid. More...
 
typedef void(* set_transaction_trxid_v1_t) (struct PSI_transaction_locker *locker, const unsigned long long *trxid)
 Set the transaction trx_id. More...
 
typedef void(* inc_transaction_savepoints_v1_t) (struct PSI_transaction_locker *locker, unsigned long count)
 Increment a transaction event savepoint count. More...
 
typedef void(* inc_transaction_rollback_to_savepoint_v1_t) (struct PSI_transaction_locker *locker, unsigned long count)
 Increment a transaction event rollback to savepoint count. More...
 
typedef void(* inc_transaction_release_savepoint_v1_t) (struct PSI_transaction_locker *locker, unsigned long count)
 Increment a transaction event release savepoint count. More...
 
typedef void(* end_transaction_v1_t) (struct PSI_transaction_locker *locker, bool commit)
 Commit or rollback the transaction. More...
 
typedef struct PSI_transaction_locker_state_v1 PSI_transaction_locker_state
 

Detailed Description

Performance schema instrumentation interface.