• unknown's avatar
    Fix for BUG#8055 "Trouble with replication from temporary tables and ignores": · 19add49c
    unknown authored
    when we close the session's temp tables at session end, we automatically write to binlog *one* DROP TEMPORARY TABLE *per tmp table*.
    
    
    mysql-test/r/drop_temp_table.result:
      result update (note: one DROP TEMPORARY TABLE per tmp table)
    mysql-test/t/drop_temp_table.test:
      checking that we have one DROP TEMPORARY TABLE per tmp table now, not one multi-table DROP.
      Hiding columns Log_pos/End_log_pos per Monty's request.
    sql/sql_base.cc:
      When we close the session's temp tables at session end, we automatically write to binlog one DROP TEMPORARY TABLE per tmp table, 
      not one single multi-table DROP TEMPORARY TABLE (because it causes problems if slave has --replicate*table rules).
    19add49c
sql_base.cc 81.3 KB