23#ifndef TABLE_SETUP_THREADS_H
24#define TABLE_SETUP_THREADS_H
80 int rnd_pos(
const void *pos)
override;
87 bool read_all)
override;
90 unsigned char *new_buf,
Field **fields)
override;
Definition: pfs_engine_table.h:299
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:69
Definition: table_setup_threads.h:55
PFS_key_event_name m_key
Definition: table_setup_threads.h:64
bool match(PFS_instr_class *klass)
Definition: table_setup_threads.cc:77
~PFS_index_setup_threads() override=default
PFS_index_setup_threads()
Definition: table_setup_threads.h:57
Definition: table_helper.h:1430
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:39
Table PERFORMANCE_SCHEMA.SETUP_INSTRUMENTS.
Definition: table_setup_threads.h:68
pos_t m_next_pos
Next position.
Definition: table_setup_threads.h:110
int make_row(PFS_thread_class *klass)
Definition: table_setup_threads.cc:177
static PFS_engine_table_share m_share
Table share.
Definition: table_setup_threads.h:73
~table_setup_threads() override=default
int update_row_values(TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields) override
Update the current row values.
Definition: table_setup_threads.cc:243
PFS_simple_index pos_t
Definition: table_setup_threads.h:69
int index_init(uint idx, bool sorted) override
Definition: table_setup_threads.cc:140
int index_next() override
Find key in index, read record.
Definition: table_setup_threads.cc:151
row_setup_threads m_row
Current row.
Definition: table_setup_threads.h:106
table_setup_threads()
Definition: table_setup_threads.cc:91
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_setup_threads.cc:121
static Plugin_table m_table_def
Table definition.
Definition: table_setup_threads.h:103
PFS_index_setup_threads * m_opened_index
Definition: table_setup_threads.h:112
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_setup_threads.cc:85
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_setup_threads.cc:94
static THR_LOCK m_table_lock
Table share lock.
Definition: table_setup_threads.h:101
pos_t m_pos
Current position.
Definition: table_setup_threads.h:108
static ha_rows get_row_count()
Definition: table_setup_threads.cc:89
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_setup_threads.cc:99
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_setup_threads.cc:183
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1139
Definition: buf0block_hint.cc:29
Performance schema tables (declarations).
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:357
Information for all instrumentation.
Definition: pfs_instr_class.h:204
Position of a cursor, for simple iterations.
Definition: pfs_engine_table.h:557
Instrumentation metadata of a thread.
Definition: pfs_instr_class.h:348
Definition: thr_lock.h:138
A row of PERFORMANCE_SCHEMA.SETUP_THREADS.
Definition: table_setup_threads.h:50
PFS_thread_class * m_instr_class
Columns NAME, ENABLED, HISTORY, PROPERTIES, VOLATILITY, DOCUMENTATION.
Definition: table_setup_threads.h:52
Helpers to implement a performance schema table.
unsigned int uint
Definition: uca9-dump.cc:74