• Marko Mäkelä's avatar
    MDEV-14663 Assertion page_is_root(block->frame) failed in innobase_add_instant_try · e3cf5779
    Marko Mäkelä authored
    innobase_add_instant_try(): If the leftmost leaf page does not contain
    other records than the 'default row', only empty the table if there
    are no successor pages.
    
    When a table or partition which was not empty during a previous
    instant ADD COLUMN became empty later, and now with this subsequent
    instant ADD COLUMN we have the opportunity to convert the empty table
    or partition to 'non-instant' format.
    
    Similarly, if the table or partition is empty to begin with, that is,
    it does not even contain a 'default row' record, we can use the
    'non-instant' format.
    e3cf5779
handler0alter.cc 269 KB