Current Path : /home/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 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/parts/t/partition_exch_qa_15.test |
# Author: Horst Hunger # Created: 2010-07-15 --source include/have_innodb.inc --source include/have_partition.inc let $engine_table= InnoDB; let $engine_part= InnoDB; let $engine_subpart= InnoDB; use test; --disable_result_log --disable_query_log --source suite/parts/inc/part_exch_tabs.inc --enable_result_log --enable_query_log # 21) Foreign Key. # Exchange of partition with table differing in structure. CREATE TABLE t_11 (a INT, b VARCHAR(55), FOREIGN KEY (a) REFERENCES t_10 (a) ON DELETE CASCADE) ENGINE= InnoDB; #--error ER_TABLES_DIFFERENT_METADATA --error ER_PARTITION_EXCHANGE_FOREIGN_KEY ALTER TABLE tp EXCHANGE PARTITION p0 WITH TABLE t_11; --disable_warnings DROP TABLE IF EXISTS t_11; --enable_warnings --source suite/parts/inc/part_exch_drop_tabs.inc