• 's avatar
    BUG #46572 DROP TEMPORARY table IF EXISTS does not have a consistent behavior in ROW mode · f8f2362b
    authored
          
    In RBR, 'DROP TEMPORARY TABLE IF EXISTS...' statement is binlogged when the table
    does not exist.
          
    In fact, 'DROP TEMPORARY TABLE ...' statement should never be binlogged in RBR
    no matter if the table exists or not. 
    This patch addresses this by checking whether we are dropping a
    temporary table or not, when building the custom drop statement.
    f8f2362b
binlog_row_drop_tmp_tbl.result 1.16 KB