MySQL 8.0.39
Source Code Documentation
|
Caching of externally stored column prefixes. More...
#include "data0types.h"
#include "dict0types.h"
#include "mem0mem.h"
#include "page0size.h"
#include "row0types.h"
#include "univ.i"
#include "row0ext.ic"
Go to the source code of this file.
Classes | |
struct | row_ext_t |
Prefixes of externally stored columns. More... | |
Functions | |
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... | |
static row_ext_t * | row_ext_create (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) |
static const byte * | row_ext_lookup_ith (const row_ext_t *ext, ulint i, ulint *len) |
Looks up a column prefix of an externally stored column. More... | |
static const byte * | row_ext_lookup (const row_ext_t *ext, ulint col, ulint *len) |
Looks up a column prefix of an externally stored column. More... | |
std::ostream & | operator<< (std::ostream &out, const row_ext_t &obj) |
Caching of externally stored column prefixes.
Created September 2006 Marko Makela
|
inline |
|
inlinestatic |
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 |
Looks up a column prefix of an externally stored column.
[in] | ext | column prefix cache |
[in] | col | column number in the InnoDB table object, as reported by dict_col_get_no(); NOT relative to the records in the clustered index |
[out] | len | length of prefix, in bytes, at most the length determined by DICT_MAX_FIELD_LEN_BY_FORMAT() |
Looks up a column prefix of an externally stored column.
[in,out] | ext | column prefix cache |
[in] | i | index of ext->ext[] |
[out] | len | length of prefix, in bytes, at most the length determined by DICT_MAX_FIELD_LEN_BY_FORMAT() |