Loading innobase/btr/btr0btr.c +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ btr_page_insert_fits( /****************************************************************** Gets the root node of a tree and x-latches it. */ static page_t* btr_root_get( /*=========*/ Loading innobase/include/btr0btr.h +9 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,15 @@ UNIQUE definition on secondary indexes when we decide if we can use the insert buffer to speed up inserts */ #define BTR_IGNORE_SEC_UNIQUE 2048 /****************************************************************** Gets the root node of a tree and x-latches it. */ page_t* btr_root_get( /*=========*/ /* out: root page, x-latched */ dict_tree_t* tree, /* in: index tree */ mtr_t* mtr); /* in: mtr */ /****************************************************************** Gets a buffer page and declares its latching order level. */ UNIV_INLINE Loading innobase/row/row0purge.c +3 −1 Original line number Diff line number Diff line Loading @@ -429,6 +429,8 @@ row_purge_upd_exist_or_extern( mtr_x_lock(dict_tree_get_lock(index->tree), &mtr); btr_root_get(index->tree, &mtr); /* We assume in purge of externally stored fields that the space id of the undo log record is 0! */ Loading Loading
innobase/btr/btr0btr.c +1 −1 Original line number Diff line number Diff line Loading @@ -116,7 +116,7 @@ btr_page_insert_fits( /****************************************************************** Gets the root node of a tree and x-latches it. */ static page_t* btr_root_get( /*=========*/ Loading
innobase/include/btr0btr.h +9 −0 Original line number Diff line number Diff line Loading @@ -55,6 +55,15 @@ UNIQUE definition on secondary indexes when we decide if we can use the insert buffer to speed up inserts */ #define BTR_IGNORE_SEC_UNIQUE 2048 /****************************************************************** Gets the root node of a tree and x-latches it. */ page_t* btr_root_get( /*=========*/ /* out: root page, x-latched */ dict_tree_t* tree, /* in: index tree */ mtr_t* mtr); /* in: mtr */ /****************************************************************** Gets a buffer page and declares its latching order level. */ UNIV_INLINE Loading
innobase/row/row0purge.c +3 −1 Original line number Diff line number Diff line Loading @@ -429,6 +429,8 @@ row_purge_upd_exist_or_extern( mtr_x_lock(dict_tree_get_lock(index->tree), &mtr); btr_root_get(index->tree, &mtr); /* We assume in purge of externally stored fields that the space id of the undo log record is 0! */ Loading