|
drizzle
C++ MySQL-protocol-compatible database server
|
Go to the source code of this file.
Classes | |
| struct | row_ext_struct |
Functions | |
| UNIV_INTERN row_ext_t * | row_ext_create (ulint n_ext, const ulint *ext, const dtuple_t *tuple, ulint zip_size, mem_heap_t *heap) |
| UNIV_INLINE const byte * | row_ext_lookup_ith (const row_ext_t *ext, ulint i, ulint *len) |
| UNIV_INLINE const byte * | row_ext_lookup (const row_ext_t *ext, ulint col, ulint *len) |
Caching of externally stored column prefixes
Created September 2006 Marko Makela
Definition in file row0ext.h.
| UNIV_INTERN row_ext_t * row_ext_create | ( | ulint | n_ext, |
| const ulint * | ext, | ||
| const dtuple_t * | tuple, | ||
| ulint | zip_size, | ||
| mem_heap_t * | heap ) |
Creates a cache of column prefixes of externally stored columns.
Creates a cache of column prefixes of externally stored columns.
| n_ext | in: number of externally stored columns |
| ext | in: 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 |
| tuple | in: 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). |
| zip_size | compressed page size in bytes, or 0 |
| heap | in: heap where created |
Definition at line 75 of file row0ext.cc.
| UNIV_INLINE const byte * row_ext_lookup | ( | const row_ext_t * | ext, |
| ulint | col, | ||
| ulint * | len ) |
Looks up a column prefix of an externally stored column.
| ext | in: column prefix cache |
| col | in: column number in the InnoDB table object, as reported by dict_col_get_no(); NOT relative to the records in the clustered index |
| UNIV_INLINE 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.
| ext | in/out: column prefix cache |
| i | in: index of ext->ext[] |