Commit 43054872 authored by Jan Lindström's avatar Jan Lindström

MDEV-7214: Test failure in main.partition_innodb

Problem is on test it tried to verify that no files were left
on test database.

Fix: There's no need to list other file types, it can only 
list *.par files
parent 06d0d090
...@@ -581,7 +581,7 @@ CREATE INDEX i1 ON t1 (a); ...@@ -581,7 +581,7 @@ CREATE INDEX i1 ON t1 (a);
DROP TABLE t1; DROP TABLE t1;
# Before the fix it should show extra file like #sql-2405_2.par # Before the fix it should show extra file like #sql-2405_2.par
--list_files $MYSQLD_DATADIR/test/ * --list_files $MYSQLD_DATADIR/test/ *.par
--disable_parsing --disable_parsing
--echo # --echo #
...@@ -616,7 +616,7 @@ ALTER TABLE t1 REORGANIZE PARTITION pMAX INTO ...@@ -616,7 +616,7 @@ ALTER TABLE t1 REORGANIZE PARTITION pMAX INTO
SHOW WARNINGS; SHOW WARNINGS;
#Contents of the 'test' database directory: #Contents of the 'test' database directory:
--list_files $MYSQLD_DATADIR/test --list_files $MYSQLD_DATADIR/test/ *.par
disconnect con1; disconnect con1;
connection default; connection default;
...@@ -638,6 +638,7 @@ SELECT * FROM t1 WHERE i1 = ( SELECT i1 FROM t1 WHERE f1=0 LIMIT 1 ); ...@@ -638,6 +638,7 @@ SELECT * FROM t1 WHERE i1 = ( SELECT i1 FROM t1 WHERE f1=0 LIMIT 1 );
DROP TABLE t1; DROP TABLE t1;
--remove_file $MYSQLD_DATADIR/test/db.opt
--enable_parsing --enable_parsing
--echo # --echo #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment