MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dict_field_t Struct Reference

#include <dict0mem.h>

Collaboration diagram for dict_field_t:

Public Attributes

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

Detailed Description

Data structure for a field in an index

Definition at line 467 of file dict0mem.h.

Member Data Documentation

dict_col_t* dict_field_t::col

pointer to the table column

Definition at line 468 of file dict0mem.h.

unsigned dict_field_t::fixed_len

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

Definition at line 478 of file dict0mem.h.

const char* dict_field_t::name

name of the column

Definition at line 469 of file dict0mem.h.

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

Definition at line 470 of file dict0mem.h.


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