• Jan Lindström's avatar
    MDEV-8901: InnoDB: Punch hole is incorrecty done also to log files causing... · 21adad00
    Jan Lindström authored
    MDEV-8901: InnoDB: Punch hole is incorrecty done also to log files causing assertion and database corruption
    
    Analysis: Problem is that punch hole does not know the actual page size
    of the page and does the page belong to an data file or to a log file.
    
    Fix: Pass down the file type and page size to os layer to be used
    when trim is called. Also fix unsafe null pointer access to
    actual write_size.
    21adad00
os0file.h 50.3 KB