• Sergei Golubchik's avatar
    control Cache_flip_event_log lifetime with reference count · c566c0c0
    Sergei Golubchik 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
    c566c0c0
log.cc 375 KB