Skip to content

Commit

Permalink
MDEV-26110 fixup: GCC 4.8.5 -Wtype-limits
Browse files Browse the repository at this point in the history
row_ins_index_entry_set_vals(): Remove an assertion that trivially
holds because the 16-bit dict_col_t::len cannot represent the value
UNIV_PAGE_SIZE_MAX.
  • Loading branch information
dr-m committed Jul 22, 2021
1 parent 82d5994 commit efd9093
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion storage/innobase/row/row0ins.cc
Expand Up @@ -3424,7 +3424,6 @@ row_ins_index_entry_set_vals(
field->len = UNIV_SQL_NULL;
field->type.prtype = DATA_BINARY_TYPE;
} else {
ut_ad(col->len <= UNIV_PAGE_SIZE_MAX);
ut_ad(ind_field->fixed_len <= col->len);
dfield_set_data(field, field_ref_zero,
ind_field->fixed_len);
Expand Down

0 comments on commit efd9093

Please sign in to comment.