24#ifndef PFS_TRANSACTION_PROVIDER_H
25#define PFS_TRANSACTION_PROVIDER_H
35#ifdef HAVE_PSI_TRANSACTION_INTERFACE
36#if defined(MYSQL_SERVER) || defined(PFS_DIRECT_CALL)
37#ifndef MYSQL_DYNAMIC_PLUGIN
38#ifndef WITH_LOCK_ORDER
48#define PSI_TRANSACTION_CALL(M) pfs_##M##_v1
56 const char *src_file, uint src_line);
65 const void *sid,
const void *gtid_spec);
struct PSI_transaction_locker PSI_transaction_locker
Definition: psi_transaction_bits.h:41
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
static int count
Definition: myisam_ftdump.cc:45
constexpr value_type read_only
Definition: classic_protocol_constants.h:213
constexpr value_type autocommit
Definition: classic_protocol_constants.h:152
void pfs_set_transaction_xa_state_v1(PSI_transaction_locker *locker, int xa_state)
Definition: pfs.cc:7811
void pfs_inc_transaction_rollback_to_savepoint_v1(PSI_transaction_locker *locker, ulong count)
Definition: pfs.cc:7863
void pfs_end_transaction_v1(PSI_transaction_locker *locker, bool commit)
Definition: pfs.cc:7873
void pfs_set_transaction_trxid_v1(PSI_transaction_locker *locker, const ulonglong *trxid)
Definition: pfs.cc:7826
void pfs_start_transaction_v1(PSI_transaction_locker *locker, const char *src_file, uint src_line)
Definition: pfs.cc:7750
void pfs_set_transaction_gtid_v1(PSI_transaction_locker *locker, const void *sid, const void *gtid_spec)
Definition: pfs.cc:7777
void pfs_set_transaction_xid_v1(PSI_transaction_locker *locker, const void *xid, int xa_state)
Definition: pfs.cc:7794
void pfs_inc_transaction_savepoints_v1(PSI_transaction_locker *locker, ulong count)
Definition: pfs.cc:7858
void pfs_inc_transaction_release_savepoint_v1(PSI_transaction_locker *locker, ulong count)
Definition: pfs.cc:7868
PSI_transaction_locker * pfs_get_thread_transaction_locker_v1(PSI_transaction_locker_state *state, const void *xid, const ulonglong *trxid, int isolation_level, bool read_only, bool autocommit)
Definition: pfs.cc:7660
Performance schema instrumentation interface.
static bool commit(THD *thd)
Commit the current statement and transaction.
Definition: sql_cmd_srs.cc:152
State data storage for get_thread_transaction_locker_v1_t, get_thread_transaction_locker_v1_t.
Definition: psi_transaction_bits.h:53