MySQL 9.1.0
Source Code Documentation
pfs_engine_table.h File Reference

Performance schema tables (declarations). More...

#include <assert.h>
#include <mysql/components/services/pfs_plugin_table_service.h>
#include <stddef.h>
#include <sys/types.h>
#include <atomic>
#include <vector>
#include "my_base.h"
#include "my_compiler.h"
#include "my_inttypes.h"
#include "mysql/components/services/bits/mysql_mutex_bits.h"
#include "mysql/psi/mysql_mutex.h"
#include "sql/auth/auth_common.h"
#include "sql/key.h"
#include "storage/perfschema/pfs.h"

Go to the source code of this file.

Classes

class  PFS_engine_table
 An abstract PERFORMANCE_SCHEMA table. More...
 
struct  PFS_key_reader
 PFS_key_reader: Convert key into internal format. More...
 
class  PFS_engine_key
 
class  PFS_engine_index_abstract
 
class  PFS_engine_index
 
struct  PFS_engine_table_share
 A PERFORMANCE_SCHEMA table share. More...
 
class  PFS_dynamic_table_shares
 A class to keep list of table shares for non-native performance schema tables i.e. More...
 
class  PFS_readonly_acl
 Privileges for read only tables. More...
 
class  PFS_truncatable_acl
 Privileges for truncatable tables. More...
 
class  PFS_updatable_acl
 Privileges for updatable tables. More...
 
class  PFS_editable_acl
 Privileges for editable tables. More...
 
class  PFS_unknown_acl
 Privileges for unknown tables. More...
 
class  PFS_readonly_world_acl
 Privileges for world readable tables. More...
 
class  PFS_truncatable_world_acl
 Privileges for world readable truncatable tables. More...
 
class  PFS_readonly_processlist_acl
 Privileges for readable processlist tables. More...
 
struct  PFS_simple_index
 Position of a cursor, for simple iterations. More...
 
struct  PFS_double_index
 Position of a double cursor, for iterations using 2 nested loops. More...
 
struct  PFS_triple_index
 Position of a triple cursor, for iterations using 3 nested loops. More...
 

Typedefs

typedef PFS_engine_table *(* pfs_open_table_t) (PFS_engine_table_share *)
 Callback to open a table. More...
 
typedef int(* pfs_write_row_t) (PFS_engine_table *pfs_table, TABLE *table, unsigned char *buf, Field **fields)
 Callback to write a row. More...
 
typedef int(* pfs_delete_all_rows_t) ()
 Callback to delete all rows. More...
 
typedef ha_rows(* pfs_get_row_count_t) ()
 Callback to get a row count. More...
 

Variables

PFS_dynamic_table_shares pfs_external_table_shares
 
PFS_readonly_acl pfs_readonly_acl
 Singleton instance of PFS_readonly_acl. More...
 
PFS_truncatable_acl pfs_truncatable_acl
 Singleton instance of PFS_truncatable_acl. More...
 
PFS_updatable_acl pfs_updatable_acl
 Singleton instance of PFS_updatable_acl. More...
 
PFS_editable_acl pfs_editable_acl
 Singleton instance of PFS_editable_acl. More...
 
PFS_unknown_acl pfs_unknown_acl
 Singleton instance of PFS_unknown_acl. More...
 
PFS_readonly_world_acl pfs_readonly_world_acl
 Singleton instance of PFS_readonly_world_acl. More...
 
PFS_truncatable_world_acl pfs_truncatable_world_acl
 Singleton instance of PFS_readonly_world_acl. More...
 
PFS_readonly_processlist_acl pfs_readonly_processlist_acl
 Singleton instance of PFS_readonly_processlist_acl. More...
 

Detailed Description

Performance schema tables (declarations).