InnoDB Plugin  1.0
Data Fields
mysql_row_templ_t Struct Reference

Data Fields

ulint col_no
ulint rec_field_no
ulint clust_rec_field_no
ulint icp_rec_field_no
ulint mysql_col_offset
ulint mysql_col_len
ulint mysql_null_byte_offset
ulint mysql_null_bit_mask
ulint type
ulint mysql_type
ulint mysql_length_bytes
ulint charset
ulint mbminlen
ulint mbmaxlen
ulint is_unsigned

Field Documentation

ulint mysql_row_templ_t::charset

MySQL charset-collation code of the column, or zero

ulint mysql_row_templ_t::clust_rec_field_no

field number of the column in an Innobase record in the clustered index; not defined if template_type is ROW_MYSQL_WHOLE_ROW

ulint mysql_row_templ_t::col_no

column number of the column

ulint mysql_row_templ_t::icp_rec_field_no

field number of the column in an Innobase record in the current index; not defined unless index condition pushdown is used

ulint mysql_row_templ_t::is_unsigned

if a column type is an integer type and this field is != 0, then it is an unsigned integer type

ulint mysql_row_templ_t::mbmaxlen

maximum length of a char, in bytes, or zero if not a char type

ulint mysql_row_templ_t::mbminlen

minimum length of a char, in bytes, or zero if not a char type

ulint mysql_row_templ_t::mysql_col_len

length of the column in the MySQL row format

ulint mysql_row_templ_t::mysql_col_offset

offset of the column in the MySQL row format

ulint mysql_row_templ_t::mysql_length_bytes

if mysql_type == DATA_MYSQL_TRUE_VARCHAR, this tells whether we should use 1 or 2 bytes to store the MySQL true VARCHAR data length at the start of row in the MySQL format (NOTE that the MySQL key value format always uses 2 bytes for the data len)

ulint mysql_row_templ_t::mysql_null_bit_mask

bit mask to get the NULL bit, zero if column cannot be NULL

ulint mysql_row_templ_t::mysql_null_byte_offset

MySQL NULL bit byte offset in a MySQL record

ulint mysql_row_templ_t::mysql_type

MySQL type code; this is always < 256

ulint mysql_row_templ_t::rec_field_no

field number of the column in an Innobase record in the current index; not defined if template_type is ROW_MYSQL_WHOLE_ROW

ulint mysql_row_templ_t::type

column type in Innobase mtype numbers DATA_CHAR...


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