Skip to content

Commit aad4e56

Browse files
robertbindarsvoj
authored andcommitted
Stale files cause intermittent failure when ordering is unfortunate
Running trigger_null-8605 drop_bad_db_type tests in this order was failing due to unremoved temporary files created in trigger_null-8605
1 parent 6dbc2ab commit aad4e56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mysql-test/t/trigger_null-8605.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ EOF
149149
load data infile 'mdev8605.txt' into table t1 fields terminated by ',';
150150
select * from t1;
151151
drop table t1;
152+
--remove_file $datadir/test/mdev8605.txt
152153

153154
# timestamps (on NULL = NOW())
154155
create table t1 (a timestamp, b int auto_increment primary key);
@@ -218,6 +219,7 @@ load data infile 'sep8605.txt' into table t1 fields terminated by ','
218219
(@a,a2,a3,b,c) set a1=100-@a;
219220
select 100-a1,a2,a3,b,c from t1;
220221
delete from t1;
222+
--remove_file $datadir/test/sep8605.txt
221223

222224
--write_file $datadir/test/fix8605.txt
223225
00012010-11-12 01:02:030010000000000000000
@@ -231,6 +233,7 @@ set statement timestamp=777777777 for
231233
load data infile 'fix8605.txt' into table t1 fields terminated by '';
232234
select * from t1;
233235
delete from t1;
236+
--remove_file $datadir/test/fix8605.txt
234237

235238
--write_file $datadir/test/xml8605.txt
236239
<data>
@@ -300,6 +303,7 @@ set statement timestamp=777777777 for
300303
load xml infile 'xml8605.txt' into table t1 rows identified by '<row>';
301304
select * from t1;
302305
drop table t1;
306+
--remove_file $datadir/test/xml8605.txt
303307

304308
# explicit DEFAULT
305309
create table t1 (a int not null default 5, b int, c int);

0 commit comments

Comments
 (0)