|
drizzle
C++ MySQL-protocol-compatible database server
|
#include <dict0mem.h>
Public Attributes | |
| unsigned | mtype:8 |
| unsigned | prtype:24 |
| unsigned | len:16 |
| unsigned | mbminmaxlen:5 |
| unsigned | ind:10 |
| unsigned | ord_part:1 |
Data structure for a column in a table
Definition at line 259 of file dict0mem.h.
| unsigned dict_col_struct::ind |
table column position (starting from 0)
Definition at line 293 of file dict0mem.h.
| unsigned dict_col_struct::len |
length; for MySQL data this is field->pack_length(), except that for a >= 5.0.3 type true VARCHAR this is the maximum byte length of the string data (in addition to the string, MySQL uses 1 or 2 bytes to store the string length)
Definition at line 275 of file dict0mem.h.
| unsigned dict_col_struct::mbminmaxlen |
minimum and maximum length of a character, in bytes; DATA_MBMINMAXLEN(mbminlen,mbmaxlen); mbminlen=DATA_MBMINLEN(mbminmaxlen); mbmaxlen=DATA_MBMINLEN(mbminmaxlen)
Definition at line 284 of file dict0mem.h.
| unsigned dict_col_struct::mtype |
The following are copied from dtype_t, so that all bit-fields can be packed tightly. main data type
Definition at line 264 of file dict0mem.h.
| unsigned dict_col_struct::ord_part |
nonzero if this column appears in the ordering fields of an index
Definition at line 295 of file dict0mem.h.
| unsigned dict_col_struct::prtype |
precise type; MySQL data type, charset code, flags to indicate nullability, signedness, whether this is a binary string, whether this is a true VARCHAR where MySQL uses 2 bytes to store the length
Definition at line 265 of file dict0mem.h.