MySQL 5.6.14 Source Code Document
|
Go to the source code of this file.
Macros | |
#define | btr_search_latch (*btr_search_latch_temp) |
#define | btr_blob_dbg_add_rec(rec, index, offsets, ctx) ((void) 0) |
#define | btr_blob_dbg_add(page, index, ctx) ((void) 0) |
#define | btr_blob_dbg_remove_rec(rec, index, offsets, ctx) ((void) 0) |
#define | btr_blob_dbg_remove(page, index, ctx) ((void) 0) |
#define | btr_blob_dbg_restore(npage, page, index, ctx) ((void) 0) |
#define | btr_blob_dbg_op(page, rec, index, ctx, op) ((void) 0) |
#define | BTR_EXTERN_FIELD_REF_SIZE 20 |
Variables | |
rw_lock_t * | btr_search_latch_temp |
The latch protecting the adaptive search system. | |
char | btr_search_enabled |
const byte | field_ref_zero [BTR_EXTERN_FIELD_REF_SIZE] |
#define BTR_EXTERN_FIELD_REF_SIZE 20 |
The size of a reference to data stored on a different page.
The reference is stored at the end of the prefix of the field in the index record.
Definition at line 196 of file btr0types.h.
#define btr_search_latch (*btr_search_latch_temp) |
The latch protecting the adaptive search system
Definition at line 62 of file btr0types.h.
char btr_search_enabled |
Flag: has the search system been enabled?
Protected by btr_search_latch.
Definition at line 48 of file btr0sea.cc.
rw_lock_t* btr_search_latch_temp |
The latch protecting the adaptive search system.
This latch protects the (1) hash index; (2) columns of a record to which we have a pointer in the hash index;
but does NOT protect:
(3) next record offset field in a record; (4) next or previous records on the same page.
Bear in mind (3) and (4) when using the hash index.
The latch protecting the adaptive search system: this latch protects the
(1) positions of records on those pages where a hash index has been built. NOTE: It does not protect values of non-ordering fields within a record from being updated in-place! We can use fact (1) to perform unique searches to indexes.
Definition at line 73 of file btr0sea.cc.
const byte field_ref_zero[BTR_EXTERN_FIELD_REF_SIZE] |
A BLOB field reference full of zero, for use in assertions and tests.
Initially, BLOB field references are set to zero, in dtuple_convert_big_rec().
Definition at line 139 of file btr0cur.cc.