MySQL 9.0.0
Source Code Documentation
|
Classes | |
struct | PSI_transaction_locker_state_v1 |
State data storage for get_thread_transaction_locker_v1_t , get_thread_transaction_locker_v1_t . More... | |
struct | PSI_transaction_bootstrap |
Entry point for the performance schema interface. More... | |
struct | PSI_transaction_service_v1 |
Performance Schema Transaction Interface, version 1. More... | |
Macros | |
#define | PSI_TRANSACTION_VERSION_1 1 |
Performance Schema Transaction Interface number for version 1. More... | |
#define | PSI_CURRENT_TRANSACTION_VERSION 1 |
Performance Schema Transaction Interface number for the most recent version. 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 |
typedef struct PSI_transaction_bootstrap | PSI_transaction_bootstrap |
typedef struct PSI_transaction_service_v1 | PSI_transaction_service_t |
Variables | |
MYSQL_PLUGIN_IMPORT PSI_transaction_service_t * | psi_transaction_service |
#define PSI_CURRENT_TRANSACTION_VERSION 1 |
Performance Schema Transaction Interface number for the most recent version.
The most current version is PSI_TRANSACTION_VERSION_1
#define PSI_TRANSACTION_VERSION_1 1 |
Performance Schema Transaction Interface number for version 1.
This version is supported.
typedef void(* end_transaction_v1_t) (struct PSI_transaction_locker *locker, bool commit) |
Commit or rollback the transaction.
locker | the transaction locker for this event |
commit | true if transaction was committed, false if rolled back |
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.
state | data storage for the locker |
xid | the xid for this transaction |
trxid | the InnoDB transaction id |
isolation_level | isolation level for this transaction |
read_only | true if transaction access mode is read-only |
autocommit | true if transaction is autocommit |
typedef void(* inc_transaction_release_savepoint_v1_t) (struct PSI_transaction_locker *locker, unsigned long count) |
Increment a transaction event release savepoint count.
locker | the transaction locker |
count | the increment value |
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.
locker | the transaction locker |
count | the increment value |
typedef void(* inc_transaction_savepoints_v1_t) (struct PSI_transaction_locker *locker, unsigned long count) |
Increment a transaction event savepoint count.
locker | the transaction locker |
count | the increment value |
typedef struct PSI_transaction_bootstrap PSI_transaction_bootstrap |
typedef struct PSI_transaction_locker PSI_transaction_locker |
typedef struct PSI_transaction_locker_state_v1 PSI_transaction_locker_state |
typedef struct PSI_transaction_locker_state_v1 PSI_transaction_locker_state_v1 |
typedef struct PSI_transaction_service_v1 PSI_transaction_service_t |
typedef void(* set_transaction_gtid_v1_t) (struct PSI_transaction_locker *locker, const void *sid, const void *gtid_spec) |
Set the transaction gtid.
locker | the transaction locker for this event |
sid | the source id for the transaction, mapped from sidno |
gtid_spec | the gtid specifier for the transaction |
typedef void(* set_transaction_trxid_v1_t) (struct PSI_transaction_locker *locker, const unsigned long long *trxid) |
Set the transaction trx_id.
locker | the transaction locker for this event |
trxid | the storage engine transaction ID |
typedef void(* set_transaction_xa_state_v1_t) (struct PSI_transaction_locker *locker, int xa_state) |
Set the state of the XA transaction.
locker | the transaction locker for this event |
xa_state | the new state of the xa transaction |
typedef void(* set_transaction_xid_v1_t) (struct PSI_transaction_locker *locker, const void *xid, int xa_state) |
Set the transaction xid.
locker | the transaction locker for this event |
xid | the id of the XA transaction |
xa_state | the state of the XA transaction |
typedef void(* start_transaction_v1_t) (struct PSI_transaction_locker *locker, const char *src_file, unsigned int src_line) |
Start a new transaction event.
locker | the transaction locker for this event |
src_file | source file name |
src_line | source line number |
|
extern |