Bug #50493 The rpl_slave_load_remove_tmpfile test fails on Windows
Submitted: 21 Jan 2010 3:34 Modified: 21 Jan 2010 3:54
Reporter: Daogang Qu Email Updates:
Status: Duplicate Impact on me:
None 
Category:Tests: Server Severity:S3 (Non-critical)
Version:next-mr OS:Windows
Assigned to: CPU Architecture:Any

[21 Jan 2010 3:34] Daogang Qu
Description:
When working on Windows with the build created from the current mysql-5.1 tree (http://trollheim.norway.sun.com/archive/1198319.mysql-5.5.99-m3-win-x86.zip) and trying to run

mysql-next-mr\mysql-test>perl mysql-test-run.pl rpl_slave_load_remove_tmpfile

The test case failed.

Please refer to:
http://pb2.norway.sun.com/web.py?template=push_details&push=841103

How to repeat:
Install MySQL from the build tree on Windows following the instructions that could be found in win/README.

Run 

mysql-next-mr\mysql-test>perl mysql-test-run.pl rpl_slave_load_remove_tmpfile

You'll get failure as following:
rpl.rpl_slave_load_remove_tmpfile [ fail ]
        Test ended at 2010-01-20 02:43:04

CURRENT_TEST: rpl.rpl_slave_load_remove_tmpfile
mysqltest: In included file ".\include\wait_for_slave_param.inc": At line 70: Error running query 'SHOW SLAVE STATUS': 2013 Lost connection to MySQL server during query

The result from queries just before the failure was:
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
create table t1(a int not null auto_increment, b int, primary key(a)) engine=innodb;
start transaction;
insert into t1(b) values (1);
insert into t1(b) values (2);
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
commit;

 - saving 'G:/pb2/test/sb_1-1198319-1263949630.84/mysql-5.5.99-m3-win-x86-test/mysql-test/var-n_mix/log/rpl.rpl_slave_load_remove_tmpfile/' to 'G:/pb2/test/sb_1-1198319-1263949630.84/mysql-5.5.99-m3-win-x86-test/mysql-test/var-n_mix/log/rpl.rpl_slave_load_remove_tmpfile/'
 - found 'mysqld.dmp' (0/5)
[21 Jan 2010 3:54] Daogang Qu
Duplicate with bug#50474.