blob: fc49eb1da90738a04d976a4b7e79a0adbb197a07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Author: Horst Hunger
# Created: 2010-07-05
source include/have_partition.inc;
source include/have_innodb.inc;
let $engine_table= MYISAM;
let $engine_part= InnoDB;
let $engine_subpart= InnoDB;
use test;
source suite/parts/inc/part_exch_tabs.inc;
sorted_result;
SELECT * FROM t_10;
sorted_result;
SELECT * FROM t_100;
sorted_result;
SELECT * FROM t_1000;
sorted_result;
SELECT * FROM tp;
sorted_result;
SELECT * FROM tsp;
sorted_result;
SELECT * FROM tsp_00;
sorted_result;
SELECT * FROM tsp_01;
sorted_result;
SELECT * FROM tsp_02;
sorted_result;
SELECT * FROM tsp_03;
sorted_result;
SELECT * FROM tsp_04;
# 5) Exchanges with different engines.
error ER_MIX_HANDLER_ERROR;
ALTER TABLE tp EXCHANGE PARTITION p0 WITH TABLE t_10;
error ER_MIX_HANDLER_ERROR;
ALTER TABLE tsp EXCHANGE PARTITION sp00 WITH TABLE tsp_00;
source suite/parts/inc/part_exch_drop_tabs.inc;
|