• Monty's avatar
    MDEV-34522 Index for (specific) Aria table is created as corrupted · 33964984
    Monty authored
    The issue was that when repairing an Aria table of row format PAGE and
    the data file was bigger the 4G, the data file length was cut short
    because of wrong parameters to MY_ALIGN().
    
    The effect was that ALTER TABLE, OPTIMIZE TABLE or REPAIR TABLE would fail
    on these tables, possibly corrupting them.
    The MDEV also exposed a bug where error state was not propagated properly
    to the upper level if the number of rows in the table changed.
    33964984
ha_maria.cc 139 KB