MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
btr_pcur_t Struct Reference
Collaboration diagram for btr_pcur_t:

Public Attributes

btr_cur_t btr_cur
ulint latch_mode
ulint old_stored
rec_t * old_rec
ulint old_n_fields
ulint rel_pos
buf_block_tblock_when_stored
ib_uint64_t modify_clock
ulint pos_state
ulint search_mode
trx_ttrx_if_known
byte * old_rec_buf
ulint buf_size

Detailed Description

Definition at line 467 of file btr0pcur.h.

Member Data Documentation

btr_cur_t btr_pcur_t::btr_cur

a B-tree cursor

Definition at line 468 of file btr0pcur.h.

ulint btr_pcur_t::buf_size

old_rec_buf size if old_rec_buf is not NULL

Definition at line 511 of file btr0pcur.h.

ulint btr_pcur_t::latch_mode

see TODO note below! BTR_SEARCH_LEAF, BTR_MODIFY_LEAF, BTR_MODIFY_TREE, or BTR_NO_LATCHES, depending on the latching state of the page and tree where the cursor is positioned; BTR_NO_LATCHES means that the cursor is not currently positioned: we say then that the cursor is detached; it can be restored to attached if the old position was stored in old_rec

Definition at line 469 of file btr0pcur.h.

ib_uint64_t btr_pcur_t::modify_clock

the modify clock value of the buffer block when the cursor position was stored

Definition at line 493 of file btr0pcur.h.

ulint btr_pcur_t::old_n_fields

number of fields in old_rec

Definition at line 486 of file btr0pcur.h.

rec_t* btr_pcur_t::old_rec

if cursor position is stored, contains an initial segment of the latest record cursor was positioned either on, before, or after

Definition at line 482 of file btr0pcur.h.

byte* btr_pcur_t::old_rec_buf

NULL, or a dynamically allocated buffer for old_rec

Definition at line 509 of file btr0pcur.h.

ulint btr_pcur_t::old_stored

BTR_PCUR_OLD_STORED or BTR_PCUR_OLD_NOT_STORED

Definition at line 480 of file btr0pcur.h.

ulint btr_pcur_t::pos_state

see TODO note below! BTR_PCUR_IS_POSITIONED, BTR_PCUR_WAS_POSITIONED, BTR_PCUR_NOT_POSITIONED

Definition at line 496 of file btr0pcur.h.

ulint btr_pcur_t::rel_pos

BTR_PCUR_ON, BTR_PCUR_BEFORE, or BTR_PCUR_AFTER, depending on whether cursor was on, before, or after the old_rec record

Definition at line 487 of file btr0pcur.h.

ulint btr_pcur_t::search_mode

PAGE_CUR_G, ...

Definition at line 500 of file btr0pcur.h.

trx_t* btr_pcur_t::trx_if_known

the transaction, if we know it; otherwise this field is not defined; can ONLY BE USED in error prints in fatal assertion failures!

Definition at line 501 of file btr0pcur.h.


The documentation for this struct was generated from the following file: