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,
451 const char* table_name);
459 table_id_t table_id);
466 dict_foreign_find_equiv_index(
475 dict_table_get_index_by_max_id(
479 const char** columns,
487 dict_table_get_col_name(
503 dict_table_print_low(
510 dict_table_print_by_name(
517 dict_print_info_on_foreign_keys(
519 ibool create_table_format,
531 dict_print_info_on_foreign_key_in_create_format(
541 dict_index_name_print(
552 dict_table_get_first_index(
560 dict_table_get_next_index(
564 # define dict_table_get_first_index(table) UT_LIST_GET_FIRST((table)->indexes)
565 # define dict_table_get_next_index(index) UT_LIST_GET_NEXT(indexes, index)
576 __attribute__((pure));
585 __attribute__((pure));
594 __attribute__((pure));
603 __attribute__((pure));
637 dict_table_get_nth_col(
646 dict_table_get_sys_col(
651 #define dict_table_get_nth_col(table, pos) \
652 ((table)->cols + (pos))
653 #define dict_table_get_sys_col(table, sys) \
654 ((table)->cols + (table)->n_cols + (sys) - DATA_N_SYS_COLS)
665 #ifndef UNIV_HOTBACKUP
707 __attribute__((
const));
738 dict_table_col_in_clustered_key(
742 #ifndef UNIV_HOTBACKUP
749 dict_table_copy_types(
760 dict_index_find_on_id_low(
768 dict_index_add_to_cache(
830 dict_index_get_nth_field(
835 # define dict_index_get_nth_field(index, pos) ((index)->fields + (pos))
861 dict_index_get_nth_col_pos(
870 dict_index_contains_col_or_prefix(
883 dict_index_get_nth_field_pos(
893 dict_table_get_nth_col_pos(
916 #ifndef UNIV_HOTBACKUP
921 dict_index_copy_types(
936 #ifndef UNIV_HOTBACKUP
943 dict_index_get_if_in_cache_low(
945 index_id_t index_id);
946 #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG
952 dict_index_get_if_in_cache(
954 index_id_t index_id);
963 dict_index_check_search_tuple(
971 dict_table_check_for_dup_indexes(
983 dict_index_build_node_ptr(
1000 dict_index_copy_rec_order_prefix(
1014 dict_index_build_data_tuple(
1073 dict_index_calc_min_rec_len(
1081 dict_update_statistics(
1084 ibool only_calc_if_missing_stats);
1092 dict_mutex_enter_for_mysql(
void);
1098 dict_mutex_exit_for_mysql(
void);
1106 dict_table_stats_lock(
1115 dict_table_stats_unlock(
1125 dict_tables_have_same_db(
1135 dict_index_remove_from_cache(
1144 dict_table_get_index_on_name(
1154 dict_table_get_index_on_name_and_min_id(
1160 extern FILE* dict_foreign_err_file;
1161 extern mutex_t dict_foreign_err_mutex;
1208 dict_ind_init(
void);
1219 #include "dict0dict.ic"