• Nikita Malyavin's avatar
    control Cache_flip_event_log lifetime with reference count · 8f6f219a
    Nikita Malyavin authored
    If online alter fails, TABLE_SHARE can be freed while concurrent
    transactions still have row events in their online_alter_cache_data.
    On commit they try'll to flush them, writing to TABLE_SHARE's
    Cache_flip_event_log, which is already freed.
    This causes a crash in main.alter_table_online_debug test
    8f6f219a
sql_table.cc 427 KB