• Marko Mäkelä's avatar
    MDEV-12353 preparation: Do not write MLOG_REC_MIN_MARK · cd92c6c8
    Marko Mäkelä authored
    btr_set_min_rec_mark(): Write MLOG_1BYTE instead of
    MLOG_REC_MIN_MARK or MLOG_COMP_REC_MIN_MARK.
    
    On ROW_FORMAT=COMPRESSED pages, the minimum record flag is not stored
    at all. The flag is computed for the uncompressed page by
    page_zip_decompress(). Hence, nothing needs to be logged for
    ROW_FORMAT=COMPRESSED tables for this operation.
    
    To facilitate crash-upgrade and hot backup from older versions,
    we will retain the code to parse and apply the old log record types
    MLOG_REC_MIN_MARK and MLOG_COMP_REC_MIN_MARK.
    cd92c6c8
btr0btr.h 29.8 KB