• svoj@mysql.com/april.(none)'s avatar
    BUG#25712 - insert delayed and check table run together report crashed · 3ea2ee35
    svoj@mysql.com/april.(none) authored
                tables
    
    In case system doesn't have native pread/pwrite calls (e.g. Windows)
    and there is CHECK TABLE runs concurrently with another statement that
    reads from a table, the table may be reported as crashed.
    
    This is fixed by locking file descriptor when my_seek is executed on
    MyISAM index file and emulated pread/pwrite may be executed concurrently.
    
    Affects MyISAM tables on platforms that do not have native
    pread/pwrite calls (e.g. Windows).
    
    No deterministic test case for this bug.
    3ea2ee35
mi_check.c 145 KB