• Teemu Ollakka's avatar
    MDEV-18585 Avoid excessive Annotate_rows_log_events in binlog · f0b65102
    Teemu Ollakka authored
    Make sure that the Annotate_rows_log_events is written into
    binlog only for the first fragment of the current statement.
    Also avoid flusing pending rows event when calculating bytes
    generated by the transaction.
    
    Added and recorded a test which verifies that the binlog
    contains only one Annotate_rows_log_event per statement
    with various SR settings. Recrded mysql-wsrep-features#136
    which produced different output with excession log events
    suppressed.
    f0b65102
handler.cc 222 KB