• Jan Lindström's avatar
    Fiix random test failures on fil_decompress_page_2 function. · 56c4b016
    Jan Lindström authored
    Analysis: InnoDB writes also files that do not contain FIL-header.
    This could lead incorrect analysis on os_fil_read_func function
    when it tries to see is page page compressed based on FIL_PAGE_TYPE
    field on FIL-header. With bad luck uncompressed page that does
    not contain FIL-headed, the byte on FIL_PAGE_TYPE position could
    indicate that page is page comrpessed.
    
    Fix: Upper layer must indicate is file space page compressed
    or not. If this is not yet known, we need to read the FIL-header
    and find it out. Files that we know that are not page compressed
    we can always just provide FALSE.
    56c4b016
srv0start.cc 82.6 KB