MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
table_events_stages_common Class Reference

#include <table_events_stages.h>

Inheritance diagram for table_events_stages_common:
Collaboration diagram for table_events_stages_common:

Protected Member Functions

virtual int read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all)
 table_events_stages_common (const PFS_engine_table_share *share, void *pos)
void make_row (PFS_events_stages *stage)
- 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_stages m_row
bool m_row_exists
- Protected Attributes inherited from PFS_engine_table
const PFS_engine_table_sharem_share_ptr
void * m_pos_ptr
time_normalizerm_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 Stringget_field_char_utf8 (Field *f, String *val)
static Stringget_field_varchar_utf8 (Field *f, String *val)

Detailed Description

Adapter, for table sharing the structure of PERFORMANCE_SCHEMA.EVENTS_STAGES_CURRENT.

Definition at line 88 of file table_events_stages.h.

Member Function Documentation

void table_events_stages_common::make_row ( PFS_events_stages stage)
protected

Build a row.

Parameters
stagethe stage the cursor is reading

Definition at line 151 of file table_events_stages.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int table_events_stages_common::read_row_values ( TABLE table,
unsigned char *  buf,
Field **  fields,
bool  read_all 
)
protectedvirtual

Read the current row values.

Parameters
tableTable handle
bufrow buffer
fieldsTable fields
read_alltrue if all columns are read.

Implements PFS_engine_table.

Definition at line 189 of file table_events_stages.cc.

Here is the call graph for this function:

Member Data Documentation

row_events_stages table_events_stages_common::m_row
protected

Current row.

Definition at line 104 of file table_events_stages.h.

bool table_events_stages_common::m_row_exists
protected

True if the current row exists.

Definition at line 106 of file table_events_stages.h.


The documentation for this class was generated from the following files: