diff options
author | Sergey Vojtovich <svoj@sun.com> | 2009-09-10 11:54:26 +0500 |
---|---|---|
committer | Sergey Vojtovich <svoj@sun.com> | 2009-09-10 11:54:26 +0500 |
commit | 51624a945affe6aa1fa21ac86fe808fa5a629cc8 (patch) | |
tree | a7878f5a0c614c10882516fe6e5bb64160e763e0 /mysql-test/t/partition_innodb.test | |
parent | 640fdb92d7d0e2814b8e669e6ec9fb0c28998fe3 (diff) | |
parent | f30480a695b313cbd7bcaea4fca1dfc638e8e5a1 (diff) | |
download | mariadb-git-51624a945affe6aa1fa21ac86fe808fa5a629cc8.tar.gz |
Local merge.
Diffstat (limited to 'mysql-test/t/partition_innodb.test')
-rw-r--r-- | mysql-test/t/partition_innodb.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/t/partition_innodb.test b/mysql-test/t/partition_innodb.test index b29ce289811..aba28b76f01 100644 --- a/mysql-test/t/partition_innodb.test +++ b/mysql-test/t/partition_innodb.test @@ -287,3 +287,15 @@ PARTITION BY RANGE (int_column) (PARTITION p1 VALUES LESS THAN (5)); show create table t1; drop table t1; + +# +# BUG#46483 - drop table of partitioned table may leave extraneous file +# Note: was only repeatable with InnoDB plugin +# +CREATE TABLE t1 (a INT) ENGINE=InnoDB + PARTITION BY list(a) (PARTITION p1 VALUES IN (1)); +CREATE INDEX i1 ON t1 (a); +DROP TABLE t1; +let $MYSQLD_DATADIR= `SELECT @@datadir`; +# Before the fix it should show extra file like #sql-2405_2.par +--list_files $MYSQLD_DATADIR/test/ * |