• Annamalai Gurusami's avatar
    Bug #16417635 INNODB FAILS TO MERGE UNDER-FILLED PAGES DEPENDING · 9f3ceb97
    Annamalai Gurusami authored
    ON DELETION ORDER
    
    Problem:
    
    When a InnoDB index page is under-filled, we will merge it with either
    the left sibling node or the right sibling node.  But this checking is
    incorrect.  When the left sibling node is available, even if merging
    is not possible with left sibling node, we do not check for the 
    possibility of merging with the right sibling node.  
    
    Solution:
    
    If left sibling node is available, and merging with left sibling node
    is not possible, then check if merge with right sibling node is
    possible.
    
    rb#2506 approved by jimmy & ima.
    9f3ceb97
btr0btr.c 130 KB