45 const byte* field =
static_cast<const byte*
>(
46 dfield_get_data(dfield));
81 buf, ext->
max_len, zip_size, field, f_len);
116 (
sizeof *ret) + (n_ext - 1) *
sizeof ret->
len));
119 ut_ad(zip_size <= UNIV_ZIP_SIZE_MAX);
123 ret->
max_len = DICT_MAX_FIELD_LEN_BY_FORMAT_FLAG(flags);
125 ret->
buf =
static_cast<byte*
>(
130 UNIV_MEM_ALLOC(ret->
buf, n_ext * ret->
max_len);
134 for (i = 0; i <
n_ext; i++) {
137 dfield = dtuple_get_nth_field(tuple, ext[i]);
138 row_ext_cache_fill(ret, i, zip_size, dfield);