• Aleksey Midenkov's avatar
    MDEV-30926 Segfault after MyISAM repair of vcol-indexed table · 5ebc663d
    Aleksey Midenkov authored
    mi_repair_by_sort() allocates record and creates index which does
    compute_vcols() which does move_fields() into allocated record but
    does not restore fields back. Then record is freed by
    mi_repair_by_sort() and the table fields still point to it.
    
    The fix restores back field pointers in compute_vcols().
    5ebc663d
ha_myisam.cc 90 KB