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

#include <pfs_engine_table.h>

Collaboration diagram for PFS_engine_table_share:

Public Member Functions

void check_one_table (THD *thd)
ha_rows get_row_count (void) const
int write_row (TABLE *table, unsigned char *buf, Field **fields) const

Static Public Member Functions

static void check_all_tables (THD *thd)
static void init_all_locks (void)
static void delete_all_locks (void)

Public Attributes

LEX_STRING m_name
const ACL_internal_table_accessm_acl
pfs_open_table_t m_open_table
pfs_write_row_t m_write_row
pfs_delete_all_rows_t m_delete_all_rows
pfs_get_row_count_t m_get_row_count
ha_rows m_records
uint m_ref_length
THR_LOCKm_thr_lock_ptr
TABLE_FIELD_DEFm_field_def
bool m_checked

Detailed Description

A PERFORMANCE_SCHEMA table share. This data is shared by all the table handles opened on the same table.

Definition at line 213 of file pfs_engine_table.h.

Member Data Documentation

const ACL_internal_table_access* PFS_engine_table_share::m_acl

Table ACL.

Definition at line 227 of file pfs_engine_table.h.

bool PFS_engine_table_share::m_checked

Schema integrity flag.

Definition at line 250 of file pfs_engine_table.h.

pfs_delete_all_rows_t PFS_engine_table_share::m_delete_all_rows

Delete all rows function.

Definition at line 233 of file pfs_engine_table.h.

TABLE_FIELD_DEF* PFS_engine_table_share::m_field_def

Table fields definition.

Definition at line 248 of file pfs_engine_table.h.

pfs_get_row_count_t PFS_engine_table_share::m_get_row_count

Get rows count function.

Definition at line 235 of file pfs_engine_table.h.

LEX_STRING PFS_engine_table_share::m_name

Table name.

Definition at line 225 of file pfs_engine_table.h.

pfs_open_table_t PFS_engine_table_share::m_open_table

Open table function.

Definition at line 229 of file pfs_engine_table.h.

ha_rows PFS_engine_table_share::m_records

Number or records. This number does not need to be precise, it is used by the optimizer to decide if the table has 0, 1, or many records.

Definition at line 242 of file pfs_engine_table.h.

uint PFS_engine_table_share::m_ref_length

Length of the m_pos position structure.

Definition at line 244 of file pfs_engine_table.h.

THR_LOCK* PFS_engine_table_share::m_thr_lock_ptr

The lock, stored on behalf of the SQL layer.

Definition at line 246 of file pfs_engine_table.h.

pfs_write_row_t PFS_engine_table_share::m_write_row

Write row function.

Definition at line 231 of file pfs_engine_table.h.


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