drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
dict_sys_struct Struct Reference
Collaboration diagram for dict_sys_struct:
[legend]

Public Attributes

mutex_t mutex
row_id_t row_id
hash_table_t * table_hash
hash_table_t * table_id_hash
 table_LRU
ulint size
dict_table_t * sys_tables
dict_table_t * sys_columns
dict_table_t * sys_indexes
dict_table_t * sys_fields

Detailed Description

Definition at line 1169 of file dict0dict.h.

Member Data Documentation

◆ mutex

mutex_t dict_sys_struct::mutex

mutex protecting the data dictionary; protects also the disk-based dictionary system tables; this mutex serializes CREATE TABLE and DROP TABLE, as well as reading the dictionary data for a table from system tables

Definition at line 1170 of file dict0dict.h.

◆ row_id

row_id_t dict_sys_struct::row_id

the next row id to assign; NOTE that at a checkpoint this must be written to the dict system header and flushed to a file; in recovery this must be derived from the log records

Definition at line 1177 of file dict0dict.h.

◆ size

ulint dict_sys_struct::size

varying space in bytes occupied by the data dictionary table and index objects

Definition at line 1189 of file dict0dict.h.

◆ sys_columns

dict_table_t* dict_sys_struct::sys_columns

SYS_COLUMNS table

Definition at line 1193 of file dict0dict.h.

◆ sys_fields

dict_table_t* dict_sys_struct::sys_fields

SYS_FIELDS table

Definition at line 1195 of file dict0dict.h.

◆ sys_indexes

dict_table_t* dict_sys_struct::sys_indexes

SYS_INDEXES table

Definition at line 1194 of file dict0dict.h.

◆ sys_tables

dict_table_t* dict_sys_struct::sys_tables

SYS_TABLES table

Definition at line 1192 of file dict0dict.h.

◆ table_hash

hash_table_t* dict_sys_struct::table_hash

hash table of the tables, based on name

Definition at line 1183 of file dict0dict.h.

◆ table_id_hash

hash_table_t* dict_sys_struct::table_id_hash

hash table of the tables, based on id

Definition at line 1185 of file dict0dict.h.

◆ table_LRU

dict_sys_struct::table_LRU

LRU list of tables

Definition at line 1188 of file dict0dict.h.


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