#include <dict0mem.h>
Public Attributes | |
dict_col_t * | col |
const char * | name |
unsigned | prefix_len:10 |
unsigned | fixed_len:10 |
Data structure for a field in an index
Definition at line 291 of file dict0mem.h.
dict_col_t* dict_field_struct::col |
pointer to the table column
Definition at line 292 of file dict0mem.h.
Referenced by dict_index_add_col(), dict_index_contains_col_or_prefix(), dict_index_get_nth_col_pos(), dict_index_get_nth_field_pos(), dict_table_col_in_clustered_key(), dict_table_get_index_by_max_id(), dtuple_convert_big_rec(), innobase_match_index_columns(), mlog_parse_index(), rec_convert_dtuple_to_rec_comp(), row_build_index_entry(), row_raw_format(), row_search_max_autoinc(), and row_sel_convert_mysql_key_to_innobase().
unsigned dict_field_struct::fixed_len |
0 or the fixed length of the column if smaller than DICT_MAX_INDEX_COL_LEN
Definition at line 301 of file dict0mem.h.
Referenced by dict_index_add_col(), dtuple_convert_big_rec(), mlog_open_and_write_index(), rec_convert_dtuple_to_rec_comp(), rec_copy_prefix_to_buf(), rec_get_converted_size_comp_prefix(), rec_get_n_extern_new(), rec_get_offsets_reverse(), and rec_init_offsets_comp_ordinary().
const char* dict_field_struct::name |
name of the column
Definition at line 293 of file dict0mem.h.
Referenced by dict_load_field_low(), dict_mem_index_add_field(), and row_search_max_autoinc().
unsigned dict_field_struct::prefix_len |
0 or the length of the column prefix in bytes in a MySQL index of type, e.g., INDEX (textcol(25)); must be smaller than DICT_MAX_INDEX_COL_LEN; NOTE that in the UTF-8 charset, MySQL sets this to 3 * the prefix len in UTF-8 chars
Definition at line 294 of file dict0mem.h.
Referenced by dict_index_add_to_cache(), dict_index_get_nth_col_pos(), dict_index_get_nth_field_pos(), dict_load_field_low(), dict_mem_index_add_field(), rec_get_converted_size_comp_prefix(), row_build(), row_build_index_entry(), row_sel_convert_mysql_key_to_innobase(), and row_upd_changes_ord_field_binary().