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 |
Definition at line 1157 of file dict0dict.h.
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 1158 of file dict0dict.h.
Referenced by dict_boot(), dict_check_tablespaces_and_store_max_id(), dict_create_add_foreigns_to_dictionary(), dict_create_index_step(), dict_create_or_check_foreign_constraint_tables(), dict_create_table_step(), dict_drop_index_tree(), dict_foreign_add_to_cache(), dict_get_first_table_name_in_db(), dict_index_add_to_cache(), dict_index_get_if_in_cache_low(), dict_index_remove_from_cache(), dict_load_foreigns(), dict_load_sys_table(), dict_load_table(), dict_load_table_on_id(), dict_print(), dict_table_add_to_cache(), dict_table_change_id_in_cache(), dict_table_decrement_handle_count(), dict_table_get(), dict_table_get_on_id(), dict_table_print(), dict_table_print_by_name(), dict_table_print_low(), dict_table_remove_from_cache(), dict_table_rename_in_cache(), dict_truncate_index_tree(), fsp_get_available_space_in_free_extents(), ha_innobase::get_foreign_key_list(), innobase_build_index_translation(), pars_sql(), que_eval_sql(), row_create_index_for_mysql(), row_create_table_for_mysql(), row_drop_table_for_mysql(), row_drop_tables_for_mysql_in_background(), row_merge_create_temporary_table(), row_merge_rename_tables(), row_mysql_lock_data_dictionary_func(), row_mysql_unlock_data_dictionary(), row_table_add_foreign_constraints(), and row_truncate_table_for_mysql().
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 1165 of file dict0dict.h.
Referenced by dict_boot().
ulint dict_sys_struct::size |
varying space in bytes occupied
by the data dictionary table and index objects
Definition at line 1177 of file dict0dict.h.
Referenced by dict_index_add_to_cache(), dict_index_remove_from_cache(), dict_table_add_to_cache(), dict_table_remove_from_cache(), dict_table_rename_in_cache(), and srv_printf_innodb_monitor().
dict_table_t* dict_sys_struct::sys_columns |
SYS_COLUMNS table
Definition at line 1181 of file dict0dict.h.
Referenced by dict_boot(), and tab_create_graph_create().
dict_table_t* dict_sys_struct::sys_fields |
SYS_FIELDS table
Definition at line 1183 of file dict0dict.h.
Referenced by dict_boot(), and ind_create_graph_create().
dict_table_t* dict_sys_struct::sys_indexes |
SYS_INDEXES table
Definition at line 1182 of file dict0dict.h.
Referenced by dict_boot(), dict_drop_index_tree(), dict_truncate_index_tree(), ind_create_graph_create(), row_merge_drop_temp_indexes(), and row_truncate_table_for_mysql().
dict_table_t* dict_sys_struct::sys_tables |
SYS_TABLES table
Definition at line 1180 of file dict0dict.h.
Referenced by dict_boot(), dict_load_table_on_id(), row_mysql_drop_temp_tables(), and tab_create_graph_create().
hash_table_t* dict_sys_struct::table_hash |
hash table of the tables, based
on name
Definition at line 1171 of file dict0dict.h.
Referenced by dict_table_add_to_cache(), dict_table_remove_from_cache(), and dict_table_rename_in_cache().
hash_table_t* dict_sys_struct::table_id_hash |
hash table of the tables, based
on id
Definition at line 1173 of file dict0dict.h.
Referenced by dict_table_add_to_cache(), dict_table_change_id_in_cache(), and dict_table_remove_from_cache().
dict_sys_struct::table_LRU |
LRU list of tables
Definition at line 1176 of file dict0dict.h.
Referenced by dict_index_find_on_id_low(), dict_table_add_to_cache(), and dict_table_remove_from_cache().