MySQL 5.6.14 Source Code Document
|
#include <table_events_statements.h>
Protected Member Functions | |
virtual int | read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all) |
table_events_statements_common (const PFS_engine_table_share *share, void *pos) | |
void | make_row (PFS_events_statements *statement) |
Protected Member Functions inherited from PFS_engine_table | |
virtual int | update_row_values (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields) |
virtual int | delete_row_values (TABLE *table, const unsigned char *buf, Field **fields) |
PFS_engine_table (const PFS_engine_table_share *share, void *pos) |
Protected Attributes | |
row_events_statements | m_row |
bool | m_row_exists |
Protected Attributes inherited from PFS_engine_table | |
const PFS_engine_table_share * | m_share_ptr |
void * | m_pos_ptr |
time_normalizer * | m_normalizer |
enum PFS_class_type | m_class_type |
Additional Inherited Members | |
Public Member Functions inherited from PFS_engine_table | |
int | read_row (TABLE *table, unsigned char *buf, Field **fields) |
int | update_row (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields) |
int | delete_row (TABLE *table, const unsigned char *buf, Field **fields) |
virtual int | rnd_init (bool scan) |
virtual int | rnd_next (void)=0 |
virtual int | rnd_pos (const void *pos)=0 |
void | get_position (void *ref) |
void | set_position (const void *ref) |
virtual void | reset_position (void)=0 |
void | get_normalizer (PFS_instr_class *instr_class) |
virtual | ~PFS_engine_table () |
Static Public Member Functions inherited from PFS_engine_table | |
static const PFS_engine_table_share * | find_engine_table_share (const char *name) |
static void | set_field_ulong (Field *f, ulong value) |
static void | set_field_ulonglong (Field *f, ulonglong value) |
static void | set_field_char_utf8 (Field *f, const char *str, uint len) |
static void | set_field_varchar_utf8 (Field *f, const char *str, uint len) |
static void | set_field_longtext_utf8 (Field *f, const char *str, uint len) |
static void | set_field_enum (Field *f, ulonglong value) |
static void | set_field_timestamp (Field *f, ulonglong value) |
static ulonglong | get_field_enum (Field *f) |
static String * | get_field_char_utf8 (Field *f, String *val) |
static String * | get_field_varchar_utf8 (Field *f, String *val) |
Adapter, for table sharing the structure of PERFORMANCE_SCHEMA.EVENTS_STATEMENTS_CURRENT.
Definition at line 164 of file table_events_statements.h.
|
protected |
Build a row.
statement | the statement the cursor is reading |
Definition at line 304 of file table_events_statements.cc.
|
protectedvirtual |
Read the current row values.
table | Table handle |
buf | row buffer |
fields | Table fields |
read_all | true if all columns are read. |
Implements PFS_engine_table.
Definition at line 405 of file table_events_statements.cc.
|
protected |
Current row.
Definition at line 180 of file table_events_statements.h.
|
protected |
True if the current row exists.
Definition at line 182 of file table_events_statements.h.