• unknown's avatar
    Bug #48350 truncate temporary table crashes replication · fa4c0203
    unknown authored
    In RBR, All statements operating on temporary tables should not be binlogged.
    Despite this fact, after executing 'TRUNCATE... ' on a temporary table, 
    the command is still logged, even if in row-based mode. Consequently, this raises
    problems in the slave as the table may not exist, resulting in an
    execution failure. Ultimately, this causes the slave to report
    an error and abort.
    
    After this patch, 'TRUNCATE ...' statement on a temporary table will not be
    binlogged in RBR.
    fa4c0203
rpl_row_trunc_temp.result 461 Bytes