24#ifndef CURSOR_BY_THREAD_CONNECT_ATTR_H
25#define CURSOR_BY_THREAD_CONNECT_ATTR_H
68 int rnd_pos(
const void *pos)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Cursor CURSOR_BY_THREAD_CONNECT_ATTR.
Definition: cursor_by_thread_connect_attr.h:61
pos_connect_attr_by_thread_by_attr m_pos
Current position.
Definition: cursor_by_thread_connect_attr.h:83
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: cursor_by_thread_connect_attr.cc:50
int index_init(uint, bool) override
Definition: cursor_by_thread_connect_attr.h:70
int index_next() override
Find key in index, read record.
Definition: cursor_by_thread_connect_attr.h:71
virtual int make_row(PFS_thread *thread, uint ordinal)=0
cursor_by_thread_connect_attr(const PFS_engine_table_share *share)
Definition: cursor_by_thread_connect_attr.cc:46
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: cursor_by_thread_connect_attr.cc:72
~cursor_by_thread_connect_attr() override=default
int rnd_next() override
Fetch the next row in this cursor.
Definition: cursor_by_thread_connect_attr.cc:55
static ha_rows get_row_count()
Definition: cursor_by_thread_connect_attr.cc:35
pos_connect_attr_by_thread_by_attr m_next_pos
Next position.
Definition: cursor_by_thread_connect_attr.h:85
my_off_t ha_rows
Definition: my_base.h:1141
Data types for columns used in the performance schema tables (declarations)
Performance schema tables (declarations).
Performance schema instruments (declarations).
Position of a double cursor, for iterations using 2 nested loops.
Definition: pfs_engine_table.h:602
uint m_index_1
Outer index.
Definition: pfs_engine_table.h:604
uint m_index_2
Current index within index_1.
Definition: pfs_engine_table.h:606
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:359
Instrumented thread implementation.
Definition: pfs_instr.h:375
Position of a cursor on abstract table PERFORMANCE_SCHEMA.SESSION_CONNECT_ATTRS.
Definition: cursor_by_thread_connect_attr.h:46
void next_thread()
Definition: cursor_by_thread_connect_attr.h:49
pos_connect_attr_by_thread_by_attr()
Definition: cursor_by_thread_connect_attr.h:47
void reset()
Definition: cursor_by_thread_connect_attr.h:54