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

#include <table_events_waits.h>

Inheritance diagram for table_events_waits_common:
Collaboration diagram for table_events_waits_common:

Protected Member Functions

virtual int read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all)
 table_events_waits_common (const PFS_engine_table_share *share, void *pos)
void clear_object_columns ()
int make_table_object_columns (volatile PFS_events_waits *wait)
int make_file_object_columns (volatile PFS_events_waits *wait)
int make_socket_object_columns (volatile PFS_events_waits *wait)
void make_row (bool thread_own_wait, PFS_thread *pfs_thread, volatile PFS_events_waits *wait)
- 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_waits 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_WAITS_CURRENT.

Definition at line 132 of file table_events_waits.h.

Member Function Documentation

void table_events_waits_common::make_row ( bool  thread_own_wait,
PFS_thread pfs_thread,
volatile PFS_events_waits wait 
)
protected

Build a row.

Parameters
thread_own_waitTrue if the memory for the wait is owned by pfs_thread
pfs_threadthe thread the cursor is reading
waitthe wait the cursor is reading

Definition at line 357 of file table_events_waits.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

int table_events_waits_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 572 of file table_events_waits.cc.

Here is the call graph for this function:

Member Data Documentation

row_events_waits table_events_waits_common::m_row
protected

Current row.

Definition at line 154 of file table_events_waits.h.

bool table_events_waits_common::m_row_exists
protected

True if the current row exists.

Definition at line 156 of file table_events_waits.h.


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