mariadb/mysql-test/suite/parts/r/partition_exchange_blackhole.result
2013-09-27 16:58:49 +04:00

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;