24#ifndef TABLE_DATA_LOCK_H
25#define TABLE_DATA_LOCK_H
102 int rnd_pos(
const void *pos)
override;
110 bool read_all)
override;
Definition: pfs_data_lock.h:716
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: pfs_data_lock.h:221
Engine interface, row lock iterator.
Definition: psi_data_lock.h:317
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
Table PERFORMANCE_SCHEMA.DATA_LOCKS.
Definition: table_data_locks.h:91
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_data_locks.cc:133
int index_next() override
Find key in index, read record.
Definition: table_data_locks.cc:266
pk_pos_t m_pk_pos
Current pk position.
Definition: table_data_locks.h:132
PFS_index_data_locks * m_opened_index
Definition: table_data_locks.h:137
pk_pos_data_lock pk_pos_t
Definition: table_data_locks.h:93
scan_pos_t m_next_pos
Next scan position.
Definition: table_data_locks.h:130
~table_data_locks() override
Definition: table_data_locks.cc:123
static THR_LOCK m_table_lock
Table share lock.
Definition: table_data_locks.h:121
static ha_rows get_row_count()
Definition: table_data_locks.cc:98
table_data_locks()
Definition: table_data_locks.cc:103
PFS_data_lock_container m_container
Definition: table_data_locks.h:134
static PFS_engine_table_share m_share
Table share.
Definition: table_data_locks.h:97
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_data_locks.cc:94
static Plugin_table m_table_def
Table definition.
Definition: table_data_locks.h:123
void destroy_iterators()
Definition: table_data_locks.cc:114
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_data_locks.cc:196
scan_pos_data_lock scan_pos_t
Definition: table_data_locks.h:92
PSI_engine_data_lock_iterator * m_iterator[COUNT_DATA_LOCK_ENGINES]
Definition: table_data_locks.h:135
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_data_locks.cc:125
int index_init(uint idx, bool sorted) override
Definition: table_data_locks.cc:238
scan_pos_t m_pos
Current scan position.
Definition: table_data_locks.h:128
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_data_locks.cc:268
row_data_lock * m_row
Current row.
Definition: table_data_locks.h:126
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1140
Definition: buf0block_hint.cc:30
Performance schema instrumentation (declarations).
Performance schema tables (declarations).
Performance schema instrumentation (declarations).
#define COUNT_DATA_LOCK_ENGINES
Definition: pfs.h:72
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:358
Definition: thr_lock.h:139
Definition: pfs_data_lock.h:42
A row of table PERFORMANCE_SCHEMA.DATA_LOCKS.
Definition: pfs_data_lock.h:85
Position of a cursor on PERFORMANCE_SCHEMA.DATA_LOCKS.
Definition: table_data_locks.h:56
scan_pos_data_lock()
Definition: table_data_locks.h:57
bool has_more_engine() const
Definition: table_data_locks.h:77
void next_engine()
Definition: table_data_locks.h:81
unsigned int m_index_1
Definition: table_data_locks.h:86
void set_after(const scan_pos_data_lock *other)
Definition: table_data_locks.h:72
void set_at(const scan_pos_data_lock *other)
Definition: table_data_locks.h:67
void reset()
Definition: table_data_locks.h:62
unsigned int m_index_2
Definition: table_data_locks.h:87
unsigned int uint
Definition: uca9-dump.cc:75