summaryrefslogtreecommitdiff
path: root/mysql-test/main/partition.test
diff options
context:
space:
mode:
authorNikita Malyavin <nikitamalyavin@gmail.com>2021-03-03 00:16:27 +0300
committerNikita Malyavin <nikitamalyavin@gmail.com>2021-03-10 17:46:19 +0300
commite0c940aa565c6d8527f33162061d76b156eb2c6e (patch)
tree562b80391aedae12171954e21058a72c6e83ed3d /mysql-test/main/partition.test
parentdcf0333f7fea1d35e0e9f68fe26a0259a2890b35 (diff)
downloadmariadb-git-fk_in_progress.tar.gz
Add referenced table to prelocking list during CREATE TABLE with FKfk_in_progress
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.