mariadb/mysql-test/suite/rpl/t/rpl_drop_temp.test
unknown ee10d69714 WL#4091, enable rpl_flushlog_loop.test and fix for rpl_drop_temp.test
mysql-test/suite/rpl/t/disabled.def:
  enable test
mysql-test/suite/rpl/t/rpl_drop_temp.test:
  added sync slave with master
mysql-test/suite/rpl/t/rpl_flushlog_loop.test:
  added sync slave with master
2008-03-01 00:05:23 +03:00

33 lines
902 B
Text

##############################################
# Change Author: JBM
# Change Date: 2006-02-07
# Change: Added ENGINE=MyISAM
# Purpose: According to TU in 16552 This is how
# to work around NDB's issue with temp tables
##############################################
source include/master-slave.inc;
source include/have_binlog_format_mixed_or_statement.inc;
--disable_warnings
create database if not exists mysqltest;
--enable_warnings
create temporary table mysqltest.t1 (n int)ENGINE=MyISAM;
create temporary table mysqltest.t2 (n int)ENGINE=MyISAM;
connection master;
disconnect master;
connection master1;
# Wait until drop of temp tables appears in binlog
let $wait_binlog_event= DROP;
source include/wait_for_binlog_event.inc;
sync_slave_with_master;
show status like 'Slave_open_temp_tables';
# Cleanup
connection default;
drop database mysqltest;
sync_slave_with_master;
# End of 4.1 tests