MySQL 9.1.0
Source Code Documentation
pfs_transaction_provider.h File Reference

Performance schema instrumentation (declarations). More...

#include "my_psi_config.h"
#include <sys/types.h>
#include "my_inttypes.h"
#include "my_macros.h"
#include "mysql/psi/psi_transaction.h"

Go to the source code of this file.

Macros

#define PSI_TRANSACTION_CALL(M)   pfs_##M##_v1
 

Functions

PSI_transaction_lockerpfs_get_thread_transaction_locker_v1 (PSI_transaction_locker_state *state, const void *xid, const ulonglong *trxid, int isolation_level, bool read_only, bool autocommit)
 
void pfs_start_transaction_v1 (PSI_transaction_locker *locker, const char *src_file, uint src_line)
 
void pfs_set_transaction_xid_v1 (PSI_transaction_locker *locker, const void *xid, int xa_state)
 
void pfs_set_transaction_xa_state_v1 (PSI_transaction_locker *locker, int xa_state)
 
void pfs_set_transaction_gtid_v1 (PSI_transaction_locker *locker, const void *sid, const void *gtid_spec)
 
void pfs_set_transaction_trxid_v1 (PSI_transaction_locker *locker, const ulonglong *trxid)
 
void pfs_inc_transaction_savepoints_v1 (PSI_transaction_locker *locker, ulong count)
 
void pfs_inc_transaction_rollback_to_savepoint_v1 (PSI_transaction_locker *locker, ulong count)
 
void pfs_inc_transaction_release_savepoint_v1 (PSI_transaction_locker *locker, ulong count)
 
void pfs_end_transaction_v1 (PSI_transaction_locker *locker, bool commit)
 

Detailed Description

Performance schema instrumentation (declarations).

Macro Definition Documentation

◆ PSI_TRANSACTION_CALL

#define PSI_TRANSACTION_CALL (   M)    pfs_##M##_v1

Function Documentation

◆ pfs_end_transaction_v1()

void pfs_end_transaction_v1 ( PSI_transaction_locker locker,
bool  commit 
)

◆ pfs_get_thread_transaction_locker_v1()

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 
)

◆ pfs_inc_transaction_release_savepoint_v1()

void pfs_inc_transaction_release_savepoint_v1 ( PSI_transaction_locker locker,
ulong  count 
)

◆ pfs_inc_transaction_rollback_to_savepoint_v1()

void pfs_inc_transaction_rollback_to_savepoint_v1 ( PSI_transaction_locker locker,
ulong  count 
)

◆ pfs_inc_transaction_savepoints_v1()

void pfs_inc_transaction_savepoints_v1 ( PSI_transaction_locker locker,
ulong  count 
)

◆ pfs_set_transaction_gtid_v1()

void pfs_set_transaction_gtid_v1 ( PSI_transaction_locker locker,
const void *  sid,
const void *  gtid_spec 
)

◆ pfs_set_transaction_trxid_v1()

void pfs_set_transaction_trxid_v1 ( PSI_transaction_locker locker,
const ulonglong trxid 
)

◆ pfs_set_transaction_xa_state_v1()

void pfs_set_transaction_xa_state_v1 ( PSI_transaction_locker locker,
int  xa_state 
)

◆ pfs_set_transaction_xid_v1()

void pfs_set_transaction_xid_v1 ( PSI_transaction_locker locker,
const void *  xid,
int  xa_state 
)

◆ pfs_start_transaction_v1()

void pfs_start_transaction_v1 ( PSI_transaction_locker locker,
const char *  src_file,
uint  src_line 
)