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:
committed by
Sergei Golubchik
parent
3bef848226
commit
e6af62189e
@@ -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;
|
||||
|
Reference in New Issue
Block a user