Ok, now I am starting to move into the page/record moving/merging functions... the first on the list to look at :
/*****************************************************************
If page is the only on its level, this function moves its records to the
father page, thus reducing the tree height. */
static
void
btr_lift_page_up(
Which calls:
/*****************************************************************
Updates the lock table when a page is copied to another and the original page
is removed from the chain of leaf pages, except if page is the root! */
Ok, now I am starting to move into the page/record moving/merging functions... the first on the list to look at :
/****** ******* ******* ******* ******* ******* ******* ******* ******* ***
If page is the only on its level, this function moves its records to the
father page, thus reducing the tree height. */
static
void
btr_lift_page_up(
Which calls:
/****** ******* ******* ******* ******* ******* ******* ******* ******* ***
Updates the lock table when a page is copied to another and the original page
is removed from the chain of leaf pages, except if page is the root! */
void copy_and_ discard( ======= ======= ======* /
lock_update_
/*=====