mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
test failure: make list_files more selective to prevent db.opt from showing up
This commit is contained in:
parent
e3108e6d2b
commit
a4baf9b3ea
2 changed files with 3 additions and 4 deletions
|
@ -638,7 +638,6 @@ 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 #
|
||||
|
|
|
@ -52,7 +52,7 @@ KEY_BLOCK_SIZE=4
|
|||
PARTITION BY HASH(id) PARTITIONS 1;
|
||||
|
||||
--replace_result #p# #P#
|
||||
--list_files $MYSQLD_DATADIR/test
|
||||
--list_files $MYSQLD_DATADIR/test t1*
|
||||
SHOW CREATE TABLE t1;
|
||||
|
||||
SET GLOBAL innodb_file_per_table = OFF;
|
||||
|
@ -71,14 +71,14 @@ LOCK TABLE t1 WRITE;
|
|||
ALTER TABLE t1 ADD PARTITION PARTITIONS 1;
|
||||
|
||||
--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 # it is here just to make the test case more realistic
|
||||
SET innodb_strict_mode = OFF;
|
||||
|
||||
ALTER TABLE t1 ADD PARTITION PARTITIONS 2;
|
||||
--replace_result #p# #P#
|
||||
--list_files $MYSQLD_DATADIR/test
|
||||
--list_files $MYSQLD_DATADIR/test t1*
|
||||
|
||||
# really bug#56172
|
||||
ALTER TABLE t1 REBUILD PARTITION p0;
|
||||
|
|
Loading…
Reference in a new issue