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 |
mtr_t * | mtr |
byte * | old_rec_buf |
ulint | buf_size |
Definition at line 479 of file btr0pcur.h.
a B-tree cursor
Definition at line 480 of file btr0pcur.h.
Referenced by btr_pcur_create_for_mysql(), btr_pcur_free_for_mysql(), and row_update_for_mysql().
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().
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 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.
number of fields in old_rec
Definition at line 498 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().
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 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().
BTR_PCUR_OLD_STORED or BTR_PCUR_OLD_NOT_STORED
Definition at line 492 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_restore_position_func(), 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().
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 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().