摘要:
mysql列存储引擎-限制性数字记录
限制性数字:
#define MAX_FIELDS 4096 /* Limit in the .frm file */
#define HA_MAX_REC_LENGTH 65535U
/****************************************************************************
VARCHAR type
Data in field->ptr is stored as:
1 or 2 bytes length-prefix-header (from Field_varstring::length_bytes)
data
NOTE:
When VARCHAR is stored in a key (for handler::index_read() etc) it's always
stored with a 2 byte prefix. (Just like blob keys).
Normally length_bytes is calculated as (field_length < 256 : 1 ? 2)
The exception is if there is a prefix key field that is part of