1
##############################################
3
# Change Date: 2006-02-07
4
# Change: Added ENGINE=MyISAM
5
# Purpose: According to TU in 16552 This is how
6
# to work around NDB's issue with temp tables
7
##############################################
8
source include/master-slave.inc;
9
source include/have_binlog_format_mixed_or_statement.inc;
12
create database if not exists mysqltest;
15
create temporary table mysqltest.t1 (n int)ENGINE=MyISAM;
16
create temporary table mysqltest.t2 (n int)ENGINE=MyISAM;
22
# Wait until drop of temp tables appears in binlog
23
let $wait_binlog_event= DROP;
24
source include/wait_for_binlog_event.inc;
26
sync_slave_with_master;
27
show status like 'Slave_open_temp_tables';
30
drop database mysqltest;
31
sync_slave_with_master;