drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
btr_pcur_struct Struct Reference
Collaboration diagram for btr_pcur_struct:
[legend]

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_t * block_when_stored
ib_uint64_t modify_clock
ulint pos_state
ulint search_mode
trx_t * trx_if_known
byte * old_rec_buf
ulint buf_size

Detailed Description

Definition at line 458 of file btr0pcur.h.

Member Data Documentation

◆ block_when_stored

buf_block_t* btr_pcur_struct::block_when_stored

Definition at line 482 of file btr0pcur.h.

◆ btr_cur

btr_cur_t btr_pcur_struct::btr_cur

a B-tree cursor

Definition at line 459 of file btr0pcur.h.

◆ buf_size

ulint btr_pcur_struct::buf_size

old_rec_buf size if old_rec_buf is not NULL

Definition at line 502 of file btr0pcur.h.

◆ latch_mode

ulint btr_pcur_struct::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; the last value 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 460 of file btr0pcur.h.

◆ modify_clock

ib_uint64_t btr_pcur_struct::modify_clock

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

Definition at line 484 of file btr0pcur.h.

◆ old_n_fields

ulint btr_pcur_struct::old_n_fields

number of fields in old_rec

Definition at line 477 of file btr0pcur.h.

◆ old_rec

rec_t* btr_pcur_struct::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 473 of file btr0pcur.h.

◆ old_rec_buf

byte* btr_pcur_struct::old_rec_buf

NULL, or a dynamically allocated buffer for old_rec

Definition at line 500 of file btr0pcur.h.

◆ old_stored

ulint btr_pcur_struct::old_stored

BTR_PCUR_OLD_STORED or BTR_PCUR_OLD_NOT_STORED

Definition at line 471 of file btr0pcur.h.

◆ pos_state

ulint btr_pcur_struct::pos_state

see TODO note below! BTR_PCUR_IS_POSITIONED, BTR_PCUR_WAS_POSITIONED, BTR_PCUR_NOT_POSITIONED

Definition at line 487 of file btr0pcur.h.

◆ rel_pos

ulint btr_pcur_struct::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 478 of file btr0pcur.h.

◆ search_mode

ulint btr_pcur_struct::search_mode

PAGE_CUR_G, ...

Definition at line 491 of file btr0pcur.h.

◆ trx_if_known

trx_t* btr_pcur_struct::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 492 of file btr0pcur.h.


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