You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uintha_innobase::max_supported_key_part_length(
HA_CREATE_INFO *create_info) const {
/* A table format specific index column length check will be performed at ha_innobase::add_index() and row_create_index_for_mysql() */switch (create_info->row_type) {
case ROW_TYPE_REDUNDANT:
case ROW_TYPE_COMPACT:
return (REC_ANTELOPE_MAX_INDEX_COL_LEN - 1);
break;
default:
return (REC_VERSION_56_MAX_INDEX_COL_LEN);
}
}
Feature Description
MySQL/InnoDB limit the total size of char and binary columns:
8126
forCOMPACT
65535
forDYNAMIC
,COMPRESSED
Key length is limited to:
767
bytes forCOMPACT
,3072
bytes forDYNAMIC
,COMPRESSED
These lengths depend on the character set used for char columns.
schemadiff
'svalidate()
function should be able to compute these.Use Case(s)
Better schema validation by
schemadiff
.The text was updated successfully, but these errors were encountered: