Skip to content

Commit ccd87d3

Browse files
committed
MDEV-16678: Ignore #sql-ib tables in main.partition_alter
We missed this in commit 8963399.
1 parent ca8c3be commit ccd87d3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

mysql-test/main/partition_alter.test

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,11 @@ show create table t1;
8686
--error ER_CONSTRAINT_FAILED
8787
insert t1 values (2, '2020-01-03', 20);
8888
drop table t1;
89-
--list_files $datadir/test
89+
--let $regexp=/#sql-ib[0-9a-f]+\.ibd\n//
90+
--list_files_write_file $datadir.files.txt $datadir/test
91+
--replace_regex $regexp
92+
--cat_file $datadir.files.txt
93+
--remove_file $datadir.files.txt
9094

9195
# MyISAM, different execution path
9296
create table t1(id int, d date not null, b bool not null default 0, primary key(id,d))
@@ -102,7 +106,10 @@ show create table t1;
102106
--error ER_CONSTRAINT_FAILED
103107
insert t1 values (2, '2020-01-03', 20);
104108
drop table t1;
105-
--list_files $datadir/test
109+
--list_files_write_file $datadir.files.txt $datadir/test
110+
--replace_regex $regexp
111+
--cat_file $datadir.files.txt
112+
--remove_file $datadir.files.txt
106113

107114
#
108115
# MDEV-13097 Online alter of a partitioned MyISAM table with auto_increment

0 commit comments

Comments
 (0)