Drizzled Public API Documentation

btr_pcur_struct Struct Reference

List of all members.

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
mtr_tmtr
byte * old_rec_buf
ulint buf_size

Detailed Description

Definition at line 479 of file btr0pcur.h.


Member Data Documentation

old_rec_buf size if old_rec_buf is not NULL

Definition at line 526 of file btr0pcur.h.

Referenced by btr_pcur_copy_stored_position(), and btr_pcur_store_position().

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 481 of file btr0pcur.h.

Referenced by btr_pcur_free_for_mysql(), btr_pcur_move_backward_from_page(), btr_pcur_move_to_next_page(), btr_pcur_move_to_prev(), btr_pcur_release_leaf(), btr_pcur_restore_position_func(), and btr_pcur_store_position().

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

Definition at line 505 of file btr0pcur.h.

Referenced by btr_pcur_restore_position_func(), and btr_pcur_store_position().

NULL, or this field may contain a mini-transaction which holds the latch on the cursor page

Definition at line 521 of file btr0pcur.h.

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

Definition at line 494 of file btr0pcur.h.

Referenced by btr_pcur_copy_stored_position(), btr_pcur_free_for_mysql(), btr_pcur_restore_position_func(), and btr_pcur_store_position().

NULL, or a dynamically allocated buffer for old_rec

Definition at line 524 of file btr0pcur.h.

Referenced by btr_pcur_copy_stored_position(), btr_pcur_free_for_mysql(), and btr_pcur_store_position().

see TODO note below! BTR_PCUR_IS_POSITIONED, BTR_PCUR_WAS_POSITIONED, BTR_PCUR_NOT_POSITIONED

Definition at line 508 of file btr0pcur.h.

Referenced by btr_pcur_free_for_mysql(), btr_pcur_move_backward_from_page(), btr_pcur_move_to_next_page(), btr_pcur_move_to_prev(), btr_pcur_release_leaf(), btr_pcur_restore_position_func(), and btr_pcur_store_position().

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 499 of file btr0pcur.h.

Referenced by btr_pcur_restore_position_func(), btr_pcur_store_position(), and row_update_for_mysql().

PAGE_CUR_G, ...

Definition at line 512 of file btr0pcur.h.

Referenced by btr_pcur_restore_position_func(), and row_search_for_mysql().

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 513 of file btr0pcur.h.

Referenced by btr_pcur_restore_position_func(), and row_search_for_mysql().


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