24#ifndef MYSQL_PSI_MDL_H
25#define MYSQL_PSI_MDL_H
50#define PSI_MDL_VERSION_1 1
58#define PSI_MDL_VERSION_2 2
65#define PSI_CURRENT_MDL_VERSION 2
81#ifdef HAVE_PSI_METADATA_INTERFACE
void(* destroy_metadata_lock_v1_t)(PSI_metadata_lock *lock)
Definition: psi_mdl_bits.h:97
void(* end_metadata_wait_v1_t)(struct PSI_metadata_locker *locker, int rc)
Definition: psi_mdl_bits.h:103
struct PSI_metadata_locker *(* start_metadata_wait_v1_t)(struct PSI_metadata_locker_state_v1 *state, struct PSI_metadata_lock *mdl, const char *src_file, unsigned int src_line)
Definition: psi_mdl_bits.h:99
MYSQL_PLUGIN_IMPORT PSI_mdl_service_t * psi_mdl_service
Definition: psi_noop.cc:581
void(* set_metadata_lock_status_v1_t)(PSI_metadata_lock *lock, opaque_mdl_status mdl_status)
Definition: psi_mdl_bits.h:91
PSI_metadata_lock *(* create_metadata_lock_v1_t)(void *identity, const struct MDL_key *key, opaque_mdl_type mdl_type, opaque_mdl_duration mdl_duration, opaque_mdl_status mdl_status, const char *src_file, unsigned int src_line)
Definition: psi_mdl_bits.h:86
void(* set_metadata_lock_duration_v2_t)(PSI_metadata_lock *lock, opaque_mdl_duration mdl_duration)
Definition: psi_mdl_bits.h:94
Some integer typedefs for easier portability.
Defines various enable/disable and HAVE_ macros related to the performance schema instrumentation sys...
Functions related to handling of plugins and other dynamically loaded libraries.
#define MYSQL_PLUGIN_IMPORT
Definition: my_sharedlib.h:71
Performance schema instrumentation interface.
required uint64 version
Definition: replication_group_member_actions.proto:41
Entry point for the performance schema interface.
Definition: psi_mdl.h:68
Performance Schema Metadata Lock Interface, version 1.
Definition: psi_mdl.h:87
set_metadata_lock_status_v1_t set_metadata_lock_status
Definition: psi_mdl.h:89
create_metadata_lock_v1_t create_metadata_lock
Definition: psi_mdl.h:88
end_metadata_wait_v1_t end_metadata_wait
Definition: psi_mdl.h:92
start_metadata_wait_v1_t start_metadata_wait
Definition: psi_mdl.h:91
destroy_metadata_lock_v1_t destroy_metadata_lock
Definition: psi_mdl.h:90
Performance Schema Metadata Lock Interface, version 2.
Definition: psi_mdl.h:99
set_metadata_lock_duration_v2_t set_metadata_lock_duration
Definition: psi_mdl.h:103
create_metadata_lock_v1_t create_metadata_lock
Definition: psi_mdl.h:100
end_metadata_wait_v1_t end_metadata_wait
Definition: psi_mdl.h:106
start_metadata_wait_v1_t start_metadata_wait
Definition: psi_mdl.h:105
destroy_metadata_lock_v1_t destroy_metadata_lock
Definition: psi_mdl.h:104
set_metadata_lock_status_v1_t set_metadata_lock_status
Definition: psi_mdl.h:101