summaryrefslogtreecommitdiff
path: root/mysql-test/main/partition.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/partition.test')
-rw-r--r--mysql-test/main/partition.test4
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/main/partition.test b/mysql-test/main/partition.test
index 81752982959..c171c71c0ed 100644
--- a/mysql-test/main/partition.test
+++ b/mysql-test/main/partition.test
@@ -290,10 +290,12 @@ drop table t1;
#
# Bug#36001: Partitions: spelling and using some error messages
#
---error ER_FEATURE_NOT_SUPPORTED_WITH_PARTITIONING
+CREATE TABLE t0(a int);
+--error ER_FOREIGN_KEY_ON_PARTITIONED
CREATE TABLE t1 (a INT, FOREIGN KEY (a) REFERENCES t0 (a))
ENGINE=MyISAM
PARTITION BY HASH (a);
+DROP TABLE t0;
#
# Bug#40954: Crash if range search and order by.