Drizzled Public API Documentation

btr0types.h File Reference
#include "univ.i"
#include "rem0types.h"
#include "page0types.h"

Go to the source code of this file.

Macros

#define btr0types_h
 
#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
 

Typedefs

typedef struct btr_pcur_struct btr_pcur_t
 
typedef struct btr_cur_struct btr_cur_t
 
typedef struct btr_search_struct btr_search_t
 

Variables

const byte field_ref_zero [BTR_EXTERN_FIELD_REF_SIZE]
 

Detailed Description

The index tree general types

Created 2/17/1996 Heikki Tuuri

Definition in file btr0types.h.

Macro Definition Documentation

#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 170 of file btr0types.h.

Referenced by btr_copy_externally_stored_field_prefix(), btr_push_update_extern_fields(), dict_index_add_to_cache(), dtuple_convert_back_big_rec(), dtuple_convert_big_rec(), page_zip_dir_add_slot(), rec_convert_dtuple_to_rec_comp(), row_build_index_entry(), and row_upd_rec_in_place().

Typedef Documentation

typedef struct btr_cur_struct btr_cur_t

B-tree cursor

Definition at line 38 of file btr0types.h.

typedef struct btr_pcur_struct btr_pcur_t

Persistent cursor

Definition at line 36 of file btr0types.h.

B-tree search information for the adaptive hash index

Definition at line 40 of file btr0types.h.

Variable Documentation

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 135 of file btr0cur.cc.