• svoj@mysql.com/june.mysql.com's avatar
    BUG#26138 - REPAIR TABLE with option USE_FRM erases all records in · 556de62f
    svoj@mysql.com/june.mysql.com authored
                ARCHIVE table
    ARCHIVE table was truncated by REPAIR TABLE ... USE_FRM statement.
    The table handler returned its file name extensions in a wrong order.
    REPAIR TABLE believed it has to use the meta file to create a new table
    from it.
    
    With the fixed order, REPAIR TABLE does now use the data file to create
    a new table. So REPAIR TABLE ... USE_FRM works well with ARCHIVE engine
    now.
    
    This issue affects 5.0 only, since in 5.1 ARCHIVE engine stores meta
    information and data in the same file.
    556de62f
archive.test 93.6 KB