From 43054872be83c42c852d6e2e0c3efd7d87aeeed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lindstr=C3=B6m?= Date: Wed, 26 Nov 2014 14:33:55 +0200 Subject: [PATCH] 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 --- mysql-test/t/partition_innodb.test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mysql-test/t/partition_innodb.test b/mysql-test/t/partition_innodb.test index 1e2aacd474a..cb7ad4262cc 100644 --- a/mysql-test/t/partition_innodb.test +++ b/mysql-test/t/partition_innodb.test @@ -581,7 +581,7 @@ CREATE INDEX i1 ON t1 (a); DROP TABLE t1; # 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 --echo # @@ -616,7 +616,7 @@ ALTER TABLE t1 REORGANIZE PARTITION pMAX INTO SHOW WARNINGS; #Contents of the 'test' database directory: ---list_files $MYSQLD_DATADIR/test +--list_files $MYSQLD_DATADIR/test/ *.par disconnect con1; connection default; @@ -638,6 +638,7 @@ SELECT * FROM t1 WHERE i1 = ( SELECT i1 FROM t1 WHERE f1=0 LIMIT 1 ); DROP TABLE t1; +--remove_file $MYSQLD_DATADIR/test/db.opt --enable_parsing --echo #