• Nirbhay Choubey's avatar
    MDEV-9401: wsrep_forced_binlog_format with binlog causes crash · 9c89b84d
    Nirbhay Choubey authored
    Some statements are always replicated in STATEMENT binlog format.
    So upon their execution, the current binlog format is temporarily
    switched to STATEMENT even though the session's format is different.
    This state, stored in THD's current_stmt_binlog_format, was getting
    incorrectly masked by wsrep_forced_binlog_format, causing assertions
    and unintended generation of row events.
    
    Backported galera.galera_forced_binlog_format and added a test
    specific to this case.
    9c89b84d
galera_forced_binlog_format.result 1.7 KB