36 #define BTR_NO_UNDO_LOG_FLAG 1
37 #define BTR_NO_LOCKING_FLAG 2
38 #define BTR_KEEP_SYS_FLAG 4
41 #ifndef UNIV_HOTBACKUP
47 #define BTR_CUR_HASH_ADAPT
59 # define btr_cur_get_page_cur(cursor) (&(cursor)->page_cur)
127 btr_cur_search_to_nth_level(
154 ulint has_search_latch,
164 btr_cur_open_at_index_side_func(
174 #define btr_cur_open_at_index_side(f,i,l,c,m) \
175 btr_cur_open_at_index_side_func(f,i,l,c,__FILE__,__LINE__,m)
180 btr_cur_open_at_rnd_pos_func(
188 #define btr_cur_open_at_rnd_pos(i,l,c,m) \
189 btr_cur_open_at_rnd_pos_func(i,l,c,__FILE__,__LINE__,m)
199 btr_cur_optimistic_insert(
227 btr_cur_pessimistic_insert(
252 btr_cur_update_alloc_zip(
261 UNIV_WARN_UNUSED_RESULT_NONNULL;
267 btr_cur_update_in_place(
289 btr_cur_optimistic_update(
310 btr_cur_pessimistic_update(
334 btr_cur_del_mark_set_clust_rec(
346 btr_cur_del_mark_set_sec_rec(
362 btr_cur_compress_if_useful(
375 btr_cur_optimistic_delete(
395 btr_cur_pessimistic_delete(
402 ibool has_reserved_extents,
418 btr_cur_parse_update_in_place(
431 btr_cur_parse_del_mark_set_clust_rec(
444 btr_cur_parse_del_mark_set_sec_rec(
450 #ifndef UNIV_HOTBACKUP
456 btr_estimate_n_rows_in_range(
469 btr_estimate_number_of_different_key_vals(
480 btr_cur_mark_extern_inherited_fields(
486 const ulint* offsets,
495 btr_cur_mark_dtuple_inherited_extern(
499 const upd_t* update);
504 btr_cur_unmark_dtuple_extern_fields(
515 btr_store_big_rec_extern_fields(
521 const ulint* offsets,
536 btr_free_externally_stored_field(
549 const ulint* offsets,
566 btr_copy_externally_stored_field_prefix(
582 btr_rec_copy_externally_stored_field(
586 const ulint* offsets,
599 btr_push_update_extern_fields(
604 __attribute__((nonnull));
610 btr_cur_set_deleted_flag_for_ibuf(
623 #define BTR_CUR_PAGE_COMPRESS_LIMIT (UNIV_PAGE_SIZE / 2)
643 #define BTR_PATH_ARRAY_N_SLOTS 250
646 enum btr_cur_method {
754 #define BTR_CUR_RETRY_DELETE_N_TIMES 100
758 #define BTR_CUR_RETRY_SLEEP_TIME 50000
767 #define BTR_EXTERN_SPACE_ID 0
768 #define BTR_EXTERN_PAGE_NO 4
769 #define BTR_EXTERN_OFFSET 8
771 #define BTR_EXTERN_LEN 12
783 #define BTR_EXTERN_OWNER_FLAG 128
789 #define BTR_EXTERN_INHERITED_FLAG 64
792 extern ulint btr_cur_n_non_sea;
795 extern ulint btr_cur_n_sea;
799 extern ulint btr_cur_n_non_sea_old;
803 extern ulint btr_cur_n_sea_old;
807 #include "btr0cur.ic"