55 #ifndef UNIV_HOTBACKUP
61 #define BTR_CUR_HASH_ADAPT
89 # define btr_cur_get_page_cur(cursor) (&(cursor)->page_cur)
90 # define btr_cur_get_block(cursor) ((cursor)->page_cur.block)
91 # define btr_cur_get_rec(cursor) ((cursor)->page_cur.rec)
120 #define btr_cur_get_index(cursor) ((cursor)->index)
167 ulint has_search_latch,
189 __attribute__((nonnull));
190 #define btr_cur_open_at_index_side(f,i,l,c,lv,m) \
191 btr_cur_open_at_index_side_func(f,i,l,c,lv,__FILE__,__LINE__,m)
204 #define btr_cur_open_at_rnd_pos(i,l,c,m) \
205 btr_cur_open_at_rnd_pos_func(i,l,c,__FILE__,__LINE__,m)
238 __attribute__((nonnull(2,3,4,5,6,7,10), warn_unused_result));
269 __attribute__((nonnull(2,3,4,5,6,7,10), warn_unused_result));
296 __attribute__((nonnull, warn_unused_result));
298 # define btr_cur_update_alloc_zip(page_zip,cursor,index,offsets,len,cr,mtr) \
299 btr_cur_update_alloc_zip_func(page_zip,cursor,index,offsets,len,cr,mtr)
301 # define btr_cur_update_alloc_zip(page_zip,cursor,index,offsets,len,cr,mtr) \
302 btr_cur_update_alloc_zip_func(page_zip,cursor,index,len,cr,mtr)
328 __attribute__((warn_unused_result, nonnull));
360 __attribute__((warn_unused_result, nonnull));
394 __attribute__((warn_unused_result, nonnull));
411 __attribute__((nonnull, warn_unused_result));
424 __attribute__((nonnull, warn_unused_result));
442 __attribute__((nonnull));
463 __attribute__((nonnull, warn_unused_result));
465 # define btr_cur_optimistic_delete(cursor, flags, mtr) \
466 btr_cur_optimistic_delete_func(cursor, flags, mtr)
468 # define btr_cur_optimistic_delete(cursor, flags, mtr) \
469 btr_cur_optimistic_delete_func(cursor, mtr)
488 ibool has_reserved_extents,
499 __attribute__((nonnull));
538 #ifndef UNIV_HOTBACKUP
581 __attribute__((nonnull(2,3,4,5,6)));
601 __attribute__((warn_unused_result));
626 __attribute__((nonnull, warn_unused_result));
720 __attribute__((nonnull));
739 #define BTR_CUR_PAGE_COMPRESS_LIMIT (UNIV_PAGE_SIZE / 2)
758 #define BTR_PATH_ARRAY_N_SLOTS 250
761 enum btr_cur_method {
851 #define BTR_CUR_RETRY_DELETE_N_TIMES 100
855 #define BTR_CUR_RETRY_SLEEP_TIME 50000
864 #define BTR_EXTERN_SPACE_ID 0
865 #define BTR_EXTERN_PAGE_NO 4
866 #define BTR_EXTERN_OFFSET 8
868 #define BTR_EXTERN_LEN 12
880 #define BTR_EXTERN_OWNER_FLAG 128
886 #define BTR_EXTERN_INHERITED_FLAG 64
905 extern uint btr_cur_limit_optimistic_insert_debug;
909 #include "btr0cur.ic"