45 const byte* field =
static_cast<const byte *
>(dfield_get_data(dfield));
47 byte* buf = ext->
buf + i * REC_MAX_INDEX_COL_LEN;
49 ut_ad(i < ext->n_ext);
53 if (UNIV_UNLIKELY(!memcmp(field_ref_zero,
65 ext->
len[i] = btr_copy_externally_stored_field_prefix(
66 buf, REC_MAX_INDEX_COL_LEN, zip_size, field, f_len);
93 + (n_ext - 1) *
sizeof ret->
len));
96 ut_ad(zip_size <= UNIV_PAGE_SIZE);
100 ret->
buf =
static_cast<byte *
>(
mem_heap_alloc(heap, n_ext * REC_MAX_INDEX_COL_LEN));
102 memset(ret->
buf, 0xaa, n_ext * REC_MAX_INDEX_COL_LEN);
103 UNIV_MEM_ALLOC(ret->
buf, n_ext * REC_MAX_INDEX_COL_LEN);
107 for (i = 0; i < n_ext; i++) {
110 dfield = dtuple_get_nth_field(tuple, ext[i]);
111 row_ext_cache_fill(ret, i, zip_size, dfield);