diff options
author | Robert Bindar <robert@mariadb.org> | 2019-05-22 12:20:02 +0300 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-05-22 16:01:39 +0400 |
commit | aad4e5637daf52c2b27a355e0c2f9038d940209d (patch) | |
tree | 8fa82c546d29d05ec7b45d32af74a10216a8d9bf | |
parent | 6dbc2ab8b36ca9b9255a9a4e3bae28e76522e5c8 (diff) | |
download | mariadb-git-aad4e5637daf52c2b27a355e0c2f9038d940209d.tar.gz |
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
-rw-r--r-- | mysql-test/t/trigger_null-8605.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/trigger_null-8605.test b/mysql-test/t/trigger_null-8605.test index 34a57654b48..7645b61f5ad 100644 --- a/mysql-test/t/trigger_null-8605.test +++ b/mysql-test/t/trigger_null-8605.test @@ -149,6 +149,7 @@ EOF load data infile 'mdev8605.txt' into table t1 fields terminated by ','; select * from t1; drop table t1; +--remove_file $datadir/test/mdev8605.txt # timestamps (on NULL = NOW()) 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 ',' (@a,a2,a3,b,c) set a1=100-@a; select 100-a1,a2,a3,b,c from t1; delete from t1; +--remove_file $datadir/test/sep8605.txt --write_file $datadir/test/fix8605.txt 00012010-11-12 01:02:030010000000000000000 @@ -231,6 +233,7 @@ set statement timestamp=777777777 for load data infile 'fix8605.txt' into table t1 fields terminated by ''; select * from t1; delete from t1; +--remove_file $datadir/test/fix8605.txt --write_file $datadir/test/xml8605.txt <data> @@ -300,6 +303,7 @@ set statement timestamp=777777777 for load xml infile 'xml8605.txt' into table t1 rows identified by '<row>'; select * from t1; drop table t1; +--remove_file $datadir/test/xml8605.txt # explicit DEFAULT create table t1 (a int not null default 5, b int, c int); |