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

#include <table_threads.h>

Inheritance diagram for table_threads:
Collaboration diagram for table_threads:

Static Public Member Functions

static PFS_engine_tablecreate ()

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)
virtual int update_row_values (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields)
- Protected Member Functions inherited from cursor_by_thread
 cursor_by_thread (const PFS_engine_table_share *share)
virtual void make_row (PFS_thread *thread)=0
- Protected Member Functions inherited from PFS_engine_table
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_thread
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 73 of file table_threads.h.

Member Function Documentation

PFS_engine_table * table_threads::create ( void  )
static

Table builder

Definition at line 119 of file table_threads.cc.

int table_threads::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 233 of file table_threads.cc.

Here is the call graph for this function:

int table_threads::update_row_values ( TABLE table,
const unsigned char *  old_buf,
unsigned char *  new_buf,
Field **  fields 
)
protectedvirtual

Update the current row values.

Parameters
tableTable handle
old_bufold row buffer
new_bufnew row buffer
fieldsTable fields

Reimplemented from PFS_engine_table.

Definition at line 344 of file table_threads.cc.

Here is the call graph for this function:

Member Data Documentation

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

Table share

Definition at line 77 of file table_threads.h.


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