# Author: Horst Hunger
# Created: 2010-07-05

--source include/have_innodb.inc
--source include/have_partition.inc

let $engine_table= MYISAM;
let $engine_part= InnoDB;
let $engine_subpart= InnoDB;

--disable_result_log
--disable_query_log
--source suite/parts/inc/part_exch_tabs.inc
--enable_result_log
--enable_query_log

--error 1497
ALTER TABLE tp EXCHANGE PARTITION p0 WITH TABLE t_10;

--source suite/parts/inc/part_exch_drop_tabs.inc

