diff options
author | Nikita Malyavin <nikitamalyavin@gmail.com> | 2021-03-03 00:16:27 +0300 |
---|---|---|
committer | Nikita Malyavin <nikitamalyavin@gmail.com> | 2021-03-10 17:46:19 +0300 |
commit | e0c940aa565c6d8527f33162061d76b156eb2c6e (patch) | |
tree | 562b80391aedae12171954e21058a72c6e83ed3d /mysql-test/main/partition.test | |
parent | dcf0333f7fea1d35e0e9f68fe26a0259a2890b35 (diff) | |
download | mariadb-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.test | 4 |
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. |