• svoj@mysql.com/april.(none)'s avatar
    BUG#23175 - MYISAM crash/repair failed during repair · a2e0059f
    svoj@mysql.com/april.(none) authored
    Repair table could crash a server if there is not sufficient
    memory (myisam_sort_buffer_size) to operate. Affects not only
    repair, but also all statements that use create index by sort:
    repair by sort, parallel repair, bulk insert.
    
    Return an error if there is not sufficient memory to store at
    least one key per BUFFPEK.
    
    Also fixed memory leak if thr_find_all_keys returns an error.
    a2e0059f
repair.result 3.19 KB