mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-27683 EXCHANGE PARTITION allows different index direction, but causes further errors
This commit is contained in:
@ -535,3 +535,16 @@ DROP TABLE t1, t2;
|
||||
--echo #
|
||||
--echo # End of 10.3 tests
|
||||
--echo #
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-27683 EXCHANGE PARTITION allows different index direction, but causes further errors
|
||||
--echo #
|
||||
CREATE TABLE t1 (a INT, KEY(a DESC)) PARTITION BY KEY(a) PARTITIONS 4;
|
||||
CREATE TABLE t2 (a INT, KEY(a));
|
||||
--error ER_TABLES_DIFFERENT_METADATA
|
||||
ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE t2;
|
||||
DROP TABLE t1, t2;
|
||||
|
||||
--echo #
|
||||
--echo # End of 10.8 tests
|
||||
--echo #
|
||||
|
Reference in New Issue
Block a user