summaryrefslogtreecommitdiff
path: root/mysql-test/t/partition.test
diff options
context:
space:
mode:
authorunknown <mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se>2006-05-23 07:37:03 -0400
committerunknown <mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se>2006-05-23 07:37:03 -0400
commit1e12f9462b4cbdbafe3ed48a446076979fab38bf (patch)
tree70c14251727a8bfcef0fe8a3d05da98bc9e058f0 /mysql-test/t/partition.test
parent3065eeb3f8cff732e1a462b58996105881c7ca88 (diff)
downloadmariadb-git-1e12f9462b4cbdbafe3ed48a446076979fab38bf.tar.gz
BUG#19304: Merge handler allowed in partitioned tables
mysql-test/r/partition.result: New test case mysql-test/t/partition.test: New test case sql/partition_info.cc: Check for not merge handler in partitioned table sql/share/errmsg.txt: New error message
Diffstat (limited to 'mysql-test/t/partition.test')
-rw-r--r--mysql-test/t/partition.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test
index 272cdc27af6..1bf4ba9613c 100644
--- a/mysql-test/t/partition.test
+++ b/mysql-test/t/partition.test
@@ -1009,4 +1009,12 @@ select auto_increment from information_schema.tables where table_name='t1';
select * from t1;
drop table t1;
+#
+# BUG 19304 Partitions: MERGE handler not allowed in partitioned tables
+#
+--error ER_PARTITION_MERGE_ERROR
+create table t1 (a int)
+partition by key (a)
+(partition p0 engine = MERGE);
+
--echo End of 5.1 tests