summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-07-22 12:29:40 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-07-22 12:29:40 +0300
commitefd90937f77f9ebd9d51955229d8b26e3c8cf844 (patch)
treed97e5ce9af30938c62f0210521b190bbb6528ba3
parent82d5994520c239da1b6edf1b24e08138ae0c753d (diff)
downloadmariadb-git-efd90937f77f9ebd9d51955229d8b26e3c8cf844.tar.gz
MDEV-26110 fixup: GCC 4.8.5 -Wtype-limits
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.
-rw-r--r--storage/innobase/row/row0ins.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/innobase/row/row0ins.cc b/storage/innobase/row/row0ins.cc
index 96cc3aa413e..fe79c747d19 100644
--- a/storage/innobase/row/row0ins.cc
+++ b/storage/innobase/row/row0ins.cc
@@ -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);