1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

unify "partitioning cannot do X" error messages

This commit is contained in:
Nikita Malyavin
2020-01-10 23:17:38 +10:00
committed by Sergei Golubchik
parent 3bef848226
commit e6af62189e
15 changed files with 23 additions and 23 deletions

View File

@@ -6,5 +6,5 @@ CREATE TABLE t2(a INT, FOREIGN KEY(a) REFERENCES t1(a))ENGINE=INNODB
PARTITION BY RANGE(a)
(PARTITION pa VALUES LESS THAN (2),
PARTITION pb VALUES LESS THAN (4));
ERROR HY000: Foreign key clause is not yet supported in conjunction with partitioning
ERROR HY000: Partitioned tables do not support FOREIGN KEY
DROP TABLE t1;