#include <btr0cur.h>
Public Attributes | |
dict_index_t * | index |
page_cur_t | page_cur |
purge_node_t * | purge_node |
buf_block_t * | left_block |
que_thr_t * | thr |
btr_path_t * | path_arr |
enum btr_cur_method | flag |
ulint | tree_height |
ulint | up_match |
ulint | up_bytes |
ulint | low_match |
ulint | low_bytes |
ulint | n_fields |
ulint | n_bytes |
ulint | fold |
ulint | ibuf_cnt |
The tree cursor: the definition appears here only for the compiler to know struct size!
The following fields are used in btr_cur_search_to_nth_level to pass information: Search method used
Definition at line 686 of file btr0cur.h.
Referenced by btr_cur_optimistic_insert(), btr_cur_pessimistic_insert(), btr_cur_search_to_nth_level(), btr_search_guess_on_hash(), and btr_search_update_hash_node_on_insert().
ulint btr_cur_struct::fold |
fold value used in the search if flag is BTR_CUR_HASH
Definition at line 724 of file btr0cur.h.
Referenced by btr_search_guess_on_hash(), and btr_search_update_hash_node_on_insert().
index where positioned
Definition at line 667 of file btr0cur.h.
Referenced by btr_compress(), btr_cur_del_mark_set_clust_rec(), btr_cur_del_mark_set_sec_rec(), btr_cur_open_at_index_side_func(), btr_cur_open_at_rnd_pos_func(), btr_cur_optimistic_delete(), btr_cur_optimistic_insert(), btr_cur_optimistic_update(), btr_cur_pessimistic_insert(), btr_cur_pessimistic_update(), btr_cur_search_to_nth_level(), btr_cur_update_in_place(), btr_page_split_and_insert(), btr_pcur_create_for_mysql(), btr_search_update_hash_node_on_insert(), btr_search_update_hash_on_delete(), btr_search_update_hash_on_insert(), and row_update_for_mysql().
number of matched bytes to the right at the time cursor positioned; only used internally in searches: not defined after the search
Definition at line 716 of file btr0cur.h.
Referenced by btr_cur_search_to_nth_level().
if search mode was PAGE_CUR_LE, the number of matched fields to the first user record AT THE CURSOR or to the left of it after btr_cur_search_to_nth_level; NOT defined for PAGE_CUR_GE or any other search modes; see also the NOTE in up_match!
Definition at line 708 of file btr0cur.h.
Referenced by btr_cur_search_to_nth_level().
ulint btr_cur_struct::n_bytes |
hash prefix bytes if hash_node != NULL
Definition at line 722 of file btr0cur.h.
Referenced by btr_search_guess_on_hash(), and btr_search_update_hash_node_on_insert().
ulint btr_cur_struct::n_fields |
prefix length used in a hash search if hash_node != NULL
Definition at line 720 of file btr0cur.h.
Referenced by btr_search_guess_on_hash(), and btr_search_update_hash_node_on_insert().
in estimating the number of rows in range, we store in this array information of the path through the tree
Definition at line 745 of file btr0cur.h.
Referenced by btr_estimate_n_rows_in_range().
purge node, for BTR_DELETE
Definition at line 669 of file btr0cur.h.
Referenced by btr_cur_search_to_nth_level().
this field is only used when btr_cur_search_to_nth_level is called for an index entry insertion: the calling query thread is passed here to be used in the insert buffer
Definition at line 676 of file btr0cur.h.
Referenced by btr_cur_search_to_nth_level().
Tree height if the search is done for a pessimistic insert or update operation
Definition at line 687 of file btr0cur.h.
Referenced by btr_cur_pessimistic_delete(), btr_cur_pessimistic_insert(), btr_cur_pessimistic_update(), and btr_cur_search_to_nth_level().
ulint btr_cur_struct::up_bytes |
number of matched bytes to the right at the time cursor positioned; only used internally in searches: not defined after the search
Definition at line 704 of file btr0cur.h.
Referenced by btr_cur_search_to_nth_level().
ulint btr_cur_struct::up_match |
If the search mode was PAGE_CUR_LE, the number of matched fields to the the first user record to the right of the cursor record after btr_cur_search_to_nth_level; for the mode PAGE_CUR_GE, the matched fields to the first user record AT THE CURSOR or to the right of it; NOTE that the up_match and low_match values may exceed the correct values for comparison to the adjacent user record if that record is on a different leaf page! (See the note in row_ins_duplicate_key.)
Definition at line 690 of file btr0cur.h.
Referenced by btr_cur_search_to_nth_level().