InnoDB Plugin  1.0
Data Fields
dict_field_t Struct Reference

#include <dict0mem.h>

Collaboration diagram for dict_field_t:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

Data structure for a field in an index

Field Documentation

dict_col_t* dict_field_t::col

pointer to the table column

unsigned dict_field_t::fixed_len

0 or the fixed length of the column if smaller than DICT_ANTELOPE_MAX_INDEX_COL_LEN

const char* dict_field_t::name

name of the column

unsigned dict_field_t::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_FIELD_LEN_BY_FORMAT; NOTE that in the UTF-8 charset, MySQL sets this to (mbmaxlen * the prefix len) in UTF-8 chars


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