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

#include <table_hosts.h>

Inheritance diagram for table_hosts:
Collaboration diagram for table_hosts:

Static Public Member Functions

static PFS_engine_tablecreate ()
static int delete_all_rows ()

Static Public Attributes

static PFS_engine_table_share m_share

Protected Member Functions

virtual int read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all)
- Protected Member Functions inherited from cursor_by_host
 cursor_by_host (const PFS_engine_table_share *share)
virtual void make_row (PFS_host *host)=0
- 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)

Additional Inherited Members

- Public Member Functions inherited from cursor_by_host
virtual int rnd_next ()
virtual int rnd_pos (const void *pos)
virtual void reset_position (void)
- 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

Detailed Description

Table PERFORMANCE_SCHEMA.THREADS.

Definition at line 42 of file table_hosts.h.

Member Function Documentation

PFS_engine_table * table_hosts::create ( void  )
static

Table builder

Definition at line 66 of file table_hosts.cc.

int table_hosts::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 113 of file table_hosts.cc.

Here is the call graph for this function:

Member Data Documentation

PFS_engine_table_share table_hosts::m_share
static
Initial value:
{
{ C_STRING_WITH_LEN("hosts") },
NULL,
table_hosts::delete_all_rows,
NULL,
1000,
sizeof(PFS_simple_index),
&m_table_lock,
&m_field_def,
false
}

Table share

Definition at line 46 of file table_hosts.h.


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