Drizzled Public API Documentation

dict_field_struct Struct Reference

#include <dict0mem.h>

Public Attributes

dict_col_tcol
 
const char * name
 
unsigned prefix_len:10
 
unsigned fixed_len:10
 

Detailed Description

Data structure for a field in an index

Definition at line 319 of file dict0mem.h.

Member Data Documentation

unsigned dict_field_struct::fixed_len
const char* dict_field_struct::name

name of the column

Definition at line 321 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 322 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(), and row_sel_convert_mysql_key_to_innobase().


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