mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
11dde18f88
For this particular bug report it was rpl_loadfile.test that did not make proper cleanup, but the patch includes fixes for other tests aswell.
27 lines
761 B
Text
27 lines
761 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;
|
|
--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;
|
|
sync_slave_with_master;
|
|
connection master;
|
|
disconnect master;
|
|
connection slave;
|
|
--real_sleep 3 # time for DROP to be written
|
|
show status like 'Slave_open_temp_tables';
|
|
|
|
# Cleanup
|
|
connection default;
|
|
drop database mysqltest;
|
|
sync_slave_with_master;
|
|
|
|
# End of 4.1 tests
|