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));
342 __attribute__((nonnull));
374 __attribute__((warn_unused_result, nonnull));
408 __attribute__((warn_unused_result, nonnull));
422 const ulint* offsets,
425 __attribute__((nonnull, warn_unused_result));
438 __attribute__((nonnull, warn_unused_result));
456 __attribute__((nonnull));
477 __attribute__((nonnull, warn_unused_result));
479 # define btr_cur_optimistic_delete(cursor, flags, mtr) \
480 btr_cur_optimistic_delete_func(cursor, flags, mtr)
482 # define btr_cur_optimistic_delete(cursor, flags, mtr) \
483 btr_cur_optimistic_delete_func(cursor, mtr)
502 ibool has_reserved_extents,
513 __attribute__((nonnull));
552 #ifndef UNIV_HOTBACKUP
588 const ulint* offsets);
603 const ulint* offsets,
606 __attribute__((nonnull(2,3,4,5,6)));
626 __attribute__((warn_unused_result));
642 const ulint* offsets,
651 __attribute__((nonnull, warn_unused_result));
673 const ulint* offsets,
727 const ulint* offsets,
745 __attribute__((nonnull));
764 #define BTR_CUR_PAGE_COMPRESS_LIMIT (UNIV_PAGE_SIZE / 2)
783 #define BTR_PATH_ARRAY_N_SLOTS 250
786 enum btr_cur_method {
876 #define BTR_CUR_RETRY_DELETE_N_TIMES 100
880 #define BTR_CUR_RETRY_SLEEP_TIME 50000
889 #define BTR_EXTERN_SPACE_ID 0
890 #define BTR_EXTERN_PAGE_NO 4
891 #define BTR_EXTERN_OFFSET 8
893 #define BTR_EXTERN_LEN 12
905 #define BTR_EXTERN_OWNER_FLAG 128
911 #define BTR_EXTERN_INHERITED_FLAG 64
930 extern uint btr_cur_limit_optimistic_insert_debug;