~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_drop_temp.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
##############################################
 
2
# Change Author: JBM
 
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;
 
10
 
 
11
--disable_warnings
 
12
create database if not exists mysqltest;
 
13
--enable_warnings
 
14
 
 
15
create temporary table mysqltest.t1 (n int)ENGINE=MyISAM;
 
16
create temporary table mysqltest.t2 (n int)ENGINE=MyISAM;
 
17
 
 
18
connection master;
 
19
disconnect master;
 
20
 
 
21
connection master1;
 
22
# Wait until drop of temp tables appears in binlog
 
23
let $wait_binlog_event= DROP;
 
24
source include/wait_for_binlog_event.inc;
 
25
 
 
26
sync_slave_with_master;
 
27
show status like 'Slave_open_temp_tables';
 
28
# Cleanup
 
29
connection default;
 
30
drop database mysqltest;
 
31
sync_slave_with_master;
 
32
 
 
33
# End of 4.1 tests