MySQL 8.0.40
Source Code Documentation
mysql_row_templ_t Struct Reference

#include <row0mysql.h>

Public Attributes

ulint col_no
 column number of the column More...
 
ulint 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 More...
 
ulint 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 More...
 
ulint icp_rec_field_no
 field number of the column in an Innobase record in the current index; only defined for columns that could be used to evaluate a pushed down index condition and/or end-range condition More...
 
ulint mysql_col_offset
 offset of the column in the MySQL row format More...
 
ulint mysql_col_len
 length of the column in the MySQL row format More...
 
ulint mysql_mvidx_len
 index length on multi-value array More...
 
ulint mysql_null_byte_offset
 MySQL NULL bit byte offset in a MySQL record. More...
 
ulint mysql_null_bit_mask
 bit mask to get the NULL bit, zero if column cannot be NULL More...
 
ulint type
 column type in Innobase mtype numbers DATA_CHAR... More...
 
ulint mysql_type
 MySQL type code; this is always < 256. More...
 
ulint 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) More...
 
ulint charset
 MySQL charset-collation code of the column, or zero. More...
 
ulint mbminlen
 minimum length of a char, in bytes, or zero if not a char type More...
 
ulint mbmaxlen
 maximum length of a char, in bytes, or zero if not a char type More...
 
ulint is_unsigned
 if a column type is an integer type and this field is != 0, then it is an unsigned integer type More...
 
ulint is_virtual
 if a column is a virtual column More...
 
ulint is_multi_val
 if a column is a Multi-Value Array virtual column More...
 

Member Data Documentation

◆ charset

ulint mysql_row_templ_t::charset

MySQL charset-collation code of the column, or zero.

◆ clust_rec_field_no

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

◆ col_no

ulint mysql_row_templ_t::col_no

column number of the column

◆ icp_rec_field_no

ulint mysql_row_templ_t::icp_rec_field_no

field number of the column in an Innobase record in the current index; only defined for columns that could be used to evaluate a pushed down index condition and/or end-range condition

◆ is_multi_val

ulint mysql_row_templ_t::is_multi_val

if a column is a Multi-Value Array virtual column

◆ is_unsigned

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

◆ is_virtual

ulint mysql_row_templ_t::is_virtual

if a column is a virtual column

◆ mbmaxlen

ulint mysql_row_templ_t::mbmaxlen

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

◆ mbminlen

ulint mysql_row_templ_t::mbminlen

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

◆ mysql_col_len

ulint mysql_row_templ_t::mysql_col_len

length of the column in the MySQL row format

◆ mysql_col_offset

ulint mysql_row_templ_t::mysql_col_offset

offset of the column in the MySQL row format

◆ mysql_length_bytes

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)

◆ mysql_mvidx_len

ulint mysql_row_templ_t::mysql_mvidx_len

index length on multi-value array

◆ mysql_null_bit_mask

ulint mysql_row_templ_t::mysql_null_bit_mask

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

◆ mysql_null_byte_offset

ulint mysql_row_templ_t::mysql_null_byte_offset

MySQL NULL bit byte offset in a MySQL record.

◆ mysql_type

ulint mysql_row_templ_t::mysql_type

MySQL type code; this is always < 256.

◆ rec_field_no

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

◆ type

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: