drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
dict_field_struct Struct Reference

#include <dict0mem.h>

Collaboration diagram for dict_field_struct:
[legend]

Public Attributes

dict_col_t * col
const char * name
unsigned prefix_len:10
unsigned fixed_len:10

Detailed Description

Data structure for a field in an index

Definition at line 311 of file dict0mem.h.

Member Data Documentation

◆ col

dict_col_t* dict_field_struct::col

pointer to the table column

Definition at line 312 of file dict0mem.h.

◆ fixed_len

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 321 of file dict0mem.h.

◆ name

const char* dict_field_struct::name

name of the column

Definition at line 313 of file dict0mem.h.

◆ prefix_len

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 314 of file dict0mem.h.


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