1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

test failure: make list_files more selective to prevent db.opt from showing up

This commit is contained in:
Sergei Golubchik
2014-12-01 13:52:49 +01:00
parent e3108e6d2b
commit a4baf9b3ea
2 changed files with 3 additions and 4 deletions

View File

@ -638,7 +638,6 @@ 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 #

View File

@ -52,7 +52,7 @@ KEY_BLOCK_SIZE=4
PARTITION BY HASH(id) PARTITIONS 1; PARTITION BY HASH(id) PARTITIONS 1;
--replace_result #p# #P# --replace_result #p# #P#
--list_files $MYSQLD_DATADIR/test --list_files $MYSQLD_DATADIR/test t1*
SHOW CREATE TABLE t1; SHOW CREATE TABLE t1;
SET GLOBAL innodb_file_per_table = OFF; SET GLOBAL innodb_file_per_table = OFF;
@ -71,14 +71,14 @@ LOCK TABLE t1 WRITE;
ALTER TABLE t1 ADD PARTITION PARTITIONS 1; ALTER TABLE t1 ADD PARTITION PARTITIONS 1;
--replace_result #p# #P# --replace_result #p# #P#
--list_files $MYSQLD_DATADIR/test --list_files $MYSQLD_DATADIR/test t1*
--echo # This SET is not needed to reproduce the bug, --echo # This SET is not needed to reproduce the bug,
--echo # it is here just to make the test case more realistic --echo # it is here just to make the test case more realistic
SET innodb_strict_mode = OFF; SET innodb_strict_mode = OFF;
ALTER TABLE t1 ADD PARTITION PARTITIONS 2; ALTER TABLE t1 ADD PARTITION PARTITIONS 2;
--replace_result #p# #P# --replace_result #p# #P#
--list_files $MYSQLD_DATADIR/test --list_files $MYSQLD_DATADIR/test t1*
# really bug#56172 # really bug#56172
ALTER TABLE t1 REBUILD PARTITION p0; ALTER TABLE t1 REBUILD PARTITION p0;