config root man

Current Path : /usr/opt/mysql57/mysql-test/suite/parts/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/opt/mysql57/mysql-test/suite/parts/t/partition_exchange_blackhole.test

--source include/have_blackhole.inc
--source include/have_partition.inc
--source include/have_debug_sync.inc

let $engine= 'Blackhole';
--echo # Blackhole has not implemented check_if_incompatible_data,
--echo # 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);
--error ER_TABLES_DIFFERENT_METADATA
ALTER TABLE tp EXCHANGE PARTITION p0 WITH TABLE t;
DROP TABLE t, tp;

# to use when check_if_incompatible_data is implemented in ha_blackhole
#--source suite/parts/inc/partition_exchange.inc

Man Man