mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
10 lines
440 B
Text
10 lines
440 B
Text
# Blackhole has not implemented check_if_incompatible_data,
|
|
# so it cannot support EXCHANGE PARTITION
|
|
CREATE TABLE t (a int, b varchar(55)) ENGINE = 'Blackhole';
|
|
CREATE TABLE tp (a int, b varchar(55)) ENGINE = 'Blackhole'
|
|
PARTITION BY RANGE (a)
|
|
(PARTITION p0 VALUES LESS THAN (100),
|
|
PARTITION p1 VALUES LESS THAN MAXVALUE);
|
|
ALTER TABLE tp EXCHANGE PARTITION p0 WITH TABLE t;
|
|
ERROR HY000: Tables have different definitions
|
|
DROP TABLE t, tp;
|