Public Attributes | |
unsigned | mtype:8 |
unsigned | prtype:24 |
unsigned | len:16 |
unsigned | mbminmaxlen:5 |
Definition at line 484 of file data0type.h.
unsigned dtype_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 496 of file data0type.h.
Referenced by dtype_print(), and pars_create_table().
unsigned dtype_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 505 of file data0type.h.
Referenced by row_build_row_ref(), and row_build_row_ref_in_tuple().
unsigned dtype_struct::mtype |
main data type
Definition at line 485 of file data0type.h.
Referenced by cmp_dtuple_rec_with_match(), dtype_print(), dtype_validate(), pars_create_table(), and row_mysql_store_col_in_innobase_format().
unsigned dtype_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 486 of file data0type.h.
Referenced by cmp_dtuple_rec_with_match(), dtype_print(), dtype_validate(), pars_create_table(), row_build_row_ref(), row_build_row_ref_in_tuple(), and row_mysql_store_col_in_innobase_format().