Skip to content
/ server Public

Commit 1bb6600

Browse files
committed
fix the test to not leave $datadir/test/imp_t1.ibd around
otherwise it causes random failures in some later test that lists files in $datadir/test
1 parent 2d12bcd commit 1bb6600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-test/suite/innodb/t/import_bugs.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ let $datadir=`select @@datadir`;
9696
UNLOCK TABLES;
9797
ALTER TABLE t2 DISCARD TABLESPACE;
9898
ALTER TABLE t2 ADD c3 INT FIRST;
99-
--copy_file $datadir/test/imp_t1.ibd $datadir/test/t2.ibd
99+
--move_file $datadir/test/imp_t1.ibd $datadir/test/t2.ibd
100100

101101
--replace_regex /opening '.*\/test\//opening '.\/test\//
102102
ALTER TABLE t2 IMPORT TABLESPACE;

0 commit comments

Comments
 (0)