Skip to content

Commit 5d15c3d

Browse files
author
Mattias Jonsson
committed
Bug#20819189: ASSERT IF .FRM EXISTS BUT NO PARTITIONED INNODB TABLE.
Post-push test fix.
1 parent 0d63fd5 commit 5d15c3d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

mysql-test/suite/innodb/r/partition.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,4 +381,5 @@ DROP TABLE t2;
381381
CREATE TABLE t1 (a int) ENGINE=InnoDB PARTITION BY HASH (a) PARTITIONS 2;
382382
SELECT * FROM t2;
383383
ERROR HY000: Got error 122 from storage engine
384+
FLUSH TABLE t2;
384385
DROP TABLE t1;

mysql-test/suite/innodb/t/partition.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,7 @@ CREATE TABLE t1 (a int) ENGINE=InnoDB PARTITION BY HASH (a) PARTITIONS 2;
308308
--error ER_GET_ERRNO
309309
SELECT * FROM t2;
310310
--remove_file $MYSQLD_DATADIR/test/t2.frm
311+
# Flush table is needed to remove the 'orphan' t2 definition.
312+
FLUSH TABLE t2;
311313
DROP TABLE t1;
312314

0 commit comments

Comments
 (0)