Commit d0cb03b8 authored by Leonard Zhou's avatar Leonard Zhou

Bug#43440 rpl.rpl_temp_table_mix_row fails sporadicly

      
The problem is that after disconnect, the DOPR TEMPORARY TABLE event didn't been
written into binlog. So after syncing with slave, the TEMPORARY table on slave 
is not removed.
      
Waiting DROP TEMPORARY TABLE event to be written into binlog before sync slave with
master.
parent 55ee0f44
...@@ -11,4 +11,3 @@ ...@@ -11,4 +11,3 @@
############################################################################## ##############################################################################
rpl_binlog_corruption : BUG#41793 2008-12-30 sven rpl_binlog_corruption disabled in main (needs new mtr) rpl_binlog_corruption : BUG#41793 2008-12-30 sven rpl_binlog_corruption disabled in main (needs new mtr)
rpl_temp_table_mix_row : BUG#43440 2009-03-23 joro rpl.rpl_temp_table_mix_row fails sporadicly
...@@ -33,6 +33,10 @@ SHOW STATUS LIKE "Slave_open_temp_tables"; ...@@ -33,6 +33,10 @@ SHOW STATUS LIKE "Slave_open_temp_tables";
disconnect master; disconnect master;
--connection master1 --connection master1
# waiting DROP TEMPORARY TABLE event to be written into binlog
let $wait_binlog_event= DROP;
source include/wait_for_binlog_event.inc;
--echo [on slave] --echo [on slave]
sync_slave_with_master; sync_slave_with_master;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment