summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition_mgm_err.result
diff options
context:
space:
mode:
authorrburnett@production.mysql.com <>2006-01-27 16:41:53 +0100
committerrburnett@production.mysql.com <>2006-01-27 16:41:53 +0100
commit0f6c55eeeeec9bfcdedc42f1e5848fd5c637be13 (patch)
tree006a773bd34893d7d6258d8b5925dbef5cfc0c26 /mysql-test/r/partition_mgm_err.result
parent8f525432245e0edf9caac44d0dd4f81768168b60 (diff)
downloadmariadb-git-0f6c55eeeeec9bfcdedc42f1e5848fd5c637be13.tar.gz
BUG#15820 - Can create table with 1 partition, then doing ALTER .. ADD PARTITION crashes
It is ok for a partitioned table to have only 1 partition. This test is just to show that doing the ALTER TABLE ADD PARTITION doesn't crash the server. partition_mgm_err.result: Added result block for test of bug #15820 partition_mgm_err.test: Added test block for bug #15820
Diffstat (limited to 'mysql-test/r/partition_mgm_err.result')
-rw-r--r--mysql-test/r/partition_mgm_err.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/r/partition_mgm_err.result b/mysql-test/r/partition_mgm_err.result
index 4129a1e61d8..58ee2d08947 100644
--- a/mysql-test/r/partition_mgm_err.result
+++ b/mysql-test/r/partition_mgm_err.result
@@ -140,3 +140,5 @@ t1 CREATE TABLE `t1` (
`a` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 PARTITION BY KEY (a) PARTITIONS 2
DROP TABLE t1;
+CREATE TABLE t1 (a INT) PARTITION BY HASH(a);
+ALTER TABLE t1 ADD PARTITION PARTITIONS 4;