• unknown's avatar
    BUG #46572 DROP TEMPORARY table IF EXISTS does not have a consistent behavior in ROW mode · c6186a25
    unknown 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.
    
    c6186a25
binlog_stm_drop_tmp_tbl.result 2.29 KB