• Lixun Peng's avatar
    MDEV-12067 flashback does not correcly revert update/replace statements · 007d3ed9
    Lixun Peng authored
    Problem
    -------
    For one-statement contains multiple row events, Flashback didn't reverse the
    sequence of row events inside one-statement.
    
    Solution
    --------
    Using a new array 'events_in_stmt' to store the row events of one-statement,
    when parsed the last one event, then print from the last one to the first one.
    
    In the same time, fixed another bug, without -vv will not insert the table_map
    into print_event_info->m_table_map, then change_to_flashback_event() will not
    execute because of Table_map_log_event is empty.
    007d3ed9
flashback.test 9.64 KB