• 's avatar
    Bug #49132 Replication failure on temporary table + DDL · 25a436bd
    authored
    In RBR, DDL statement will change binlog format to non row-based
    format before it is binlogged, but the binlog format was not be
    restored, and then manipulating a temporary table can not reset binlog
    format to row-based format rightly. So that the manipulated statement
    is binlogged with statement-based format.
    
    To fix the problem, restore the state of binlog format after the DDL
    statement is binlogged.
    25a436bd
rpl_tmp_table_and_DDL.test 4.8 KB