MySQL 8.0.40
Source Code Documentation
|
Caching of externally stored column prefixes. More...
Functions | |
static void | row_ext_cache_fill (const dict_index_t *index, row_ext_t *ext, ulint i, const page_size_t &page_size, bool is_sdi, const dfield_t *dfield) |
Fills the column prefix cache of an externally stored column. More... | |
row_ext_t * | row_ext_create_func (const dict_index_t *index, ulint n_ext, const ulint *ext, uint32_t flags, const dtuple_t *tuple, bool is_sdi, mem_heap_t *heap) |
Creates a cache of column prefixes of externally stored columns. More... | |
Caching of externally stored column prefixes.
Created September 2006 Marko Makela
|
static |
Fills the column prefix cache of an externally stored column.
[in] | index | clustered index from which LOB is fetched. |
[in,out] | ext | column prefix cache |
[in] | i | index of ext->ext[] |
[in] | page_size | page size |
[in] | dfield | data field |
[in] | is_sdi | true for SDI Index |
row_ext_t * row_ext_create_func | ( | const dict_index_t * | index, |
ulint | n_ext, | ||
const ulint * | ext, | ||
uint32_t | flags, | ||
const dtuple_t * | tuple, | ||
bool | is_sdi, | ||
mem_heap_t * | heap | ||
) |
Creates a cache of column prefixes of externally stored columns.
[in] | index | the index to which LOB belongs. |
[in] | n_ext | number of externally stored columns |
[in] | ext | col_no's of externally stored columns in the InnoDB table object, as reported by dict_col_get_no(); NOT relative to the records in the clustered index |
[in] | flags | table->flags |
[in] | tuple | data tuple containing the field references of the externally stored columns; must be indexed by col_no; the clustered index record must be covered by a lock or a page latch to prevent deletion (rollback or purge) |
[in] | is_sdi | true for SDI Indexes |
[in,out] | heap | heap where created |