![]() |
MySQL 8.0.43
Source Code Documentation
|
Data structure for a field in an index. More...
#include <dict0mem.h>
Public Member Functions | |
| dict_field_t () | |
| uint16_t | get_phy_pos () const |
Public Attributes | |
| dict_col_t * | col |
| pointer to the table column More... | |
| id_name_t | name |
| name of the column More... | |
| unsigned | prefix_len: 12 |
| 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 More... | |
| unsigned | fixed_len: 10 |
| 0 or the fixed length of the column if smaller than DICT_ANTELOPE_MAX_INDEX_COL_LEN More... | |
| unsigned | is_ascending: 1 |
| 0=DESC, 1=ASC More... | |
Data structure for a field in an index.
|
inline |
|
inline |
| 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
| unsigned dict_field_t::is_ascending |
0=DESC, 1=ASC
| id_name_t 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