44 #ifndef UNIV_HOTBACKUP
85 dict_table_decrement_handle_count(
147 dict_col_type_assert_equal(
152 #ifndef UNIV_HOTBACKUP
211 dict_col_name_is_reserved(
218 dict_table_autoinc_lock(
225 dict_table_autoinc_initialize(
235 dict_table_autoinc_read(
243 dict_table_autoinc_update_if_greater(
252 dict_table_autoinc_unlock(
260 dict_table_add_system_columns(
264 #ifndef UNIV_HOTBACKUP
269 dict_table_add_to_cache(
277 dict_table_remove_from_cache(
285 dict_table_rename_in_cache(
288 const char* new_name,
289 ibool rename_also_foreigns);
297 dict_table_change_id_in_cache(
309 dict_foreign_add_to_cache(
312 ibool check_charsets);
321 dict_table_get_referenced_constraint(
330 dict_table_is_referenced_by_foreign_key(
338 dict_table_replace_index_in_foreign_list(
351 dict_table_get_foreign_constraint(
365 dict_create_foreign_constraints(
368 const char* sql_string,
389 dict_foreign_parse_drop_constraints(
397 const char*** constraints_to_drop);
409 const char* table_name,
410 ibool inc_mysql_count);
418 dict_index_get_on_id_low(
421 index_id_t index_id);
430 const char* table_name);
439 const char* table_name);
447 table_id_t table_id);
454 dict_foreign_find_equiv_index(
463 dict_table_get_index_by_max_id(
467 const char** columns,
475 dict_table_get_col_name(
491 dict_table_print_low(
498 dict_table_print_by_name(
505 dict_print_info_on_foreign_keys(
507 ibool create_table_format,
519 dict_print_info_on_foreign_key_in_create_format(
529 dict_index_name_print(
540 dict_table_get_first_index(
548 dict_table_get_next_index(
552 # define dict_table_get_first_index(table) UT_LIST_GET_FIRST((table)->indexes)
553 # define dict_table_get_next_index(index) UT_LIST_GET_NEXT(indexes, index)
564 __attribute__((pure));
573 __attribute__((pure));
582 __attribute__((pure));
591 __attribute__((pure));
625 dict_table_get_nth_col(
634 dict_table_get_sys_col(
639 #define dict_table_get_nth_col(table, pos) \
640 ((table)->cols + (pos))
641 #define dict_table_get_sys_col(table, sys) \
642 ((table)->cols + (table)->n_cols + (sys) - DATA_N_SYS_COLS)
653 #ifndef UNIV_HOTBACKUP
695 __attribute__((
const));
726 dict_table_col_in_clustered_key(
730 #ifndef UNIV_HOTBACKUP
737 dict_table_copy_types(
748 dict_index_find_on_id_low(
756 dict_index_add_to_cache(
818 dict_index_get_nth_field(
823 # define dict_index_get_nth_field(index, pos) ((index)->fields + (pos))
849 dict_index_get_nth_col_pos(
858 dict_index_contains_col_or_prefix(
871 dict_index_get_nth_field_pos(
881 dict_table_get_nth_col_pos(
904 #ifndef UNIV_HOTBACKUP
909 dict_index_copy_types(
924 #ifndef UNIV_HOTBACKUP
931 dict_index_get_if_in_cache_low(
933 index_id_t index_id);
934 #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG
940 dict_index_get_if_in_cache(
942 index_id_t index_id);
951 dict_index_check_search_tuple(
959 dict_table_check_for_dup_indexes(
971 dict_index_build_node_ptr(
988 dict_index_copy_rec_order_prefix(
1002 dict_index_build_data_tuple(
1061 dict_index_calc_min_rec_len(
1069 dict_update_statistics(
1072 ibool only_calc_if_missing_stats);
1080 dict_mutex_enter_for_mysql(
void);
1086 dict_mutex_exit_for_mysql(
void);
1094 dict_table_stats_lock(
1103 dict_table_stats_unlock(
1113 dict_tables_have_same_db(
1123 dict_index_remove_from_cache(
1132 dict_table_get_index_on_name(
1142 dict_table_get_index_on_name_and_min_id(
1148 extern FILE* dict_foreign_err_file;
1149 extern mutex_t dict_foreign_err_mutex;
1196 dict_ind_init(
void);
1207 #include "dict0dict.ic"