diff options
author | Mattias Jonsson <mattias.jonsson@sun.com> | 2008-12-10 09:06:58 +0100 |
---|---|---|
committer | Mattias Jonsson <mattias.jonsson@sun.com> | 2008-12-10 09:06:58 +0100 |
commit | 9cb4c7209ac91f5466e889684db05b7bc7e88360 (patch) | |
tree | d46ae286fcc17fe14ad15719fa107863079e7e7a /mysql-test/t/partition_mgm.test | |
parent | e2fef3d10a2f592e42b23563ac9369e5ce40a747 (diff) | |
parent | 6538f19f9a73c1102f4ca240bda6aa58799aba6b (diff) | |
download | mariadb-git-9cb4c7209ac91f5466e889684db05b7bc7e88360.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/partition_mgm.test')
-rw-r--r-- | mysql-test/t/partition_mgm.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/partition_mgm.test b/mysql-test/t/partition_mgm.test index 524a2e04b25..67544471a8d 100644 --- a/mysql-test/t/partition_mgm.test +++ b/mysql-test/t/partition_mgm.test @@ -4,6 +4,17 @@ DROP TABLE IF EXISTS t1; --enable_warnings # +# Bug 40389: REORGANIZE PARTITION crashes when only using one partition +# +CREATE TABLE t1 (a INT PRIMARY KEY) +ENGINE MYISAM +PARTITION BY HASH (a) +PARTITIONS 1; +INSERT INTO t1 VALUES (1),(2),(3),(4),(5); +ALTER TABLE t1 REORGANIZE PARTITION; +DROP TABLE t1; + +# # Bug 21143: mysqld hang when error in number of subparts in # REORGANIZE command # |