mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
	
		
			871 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
	
		
			871 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| # 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;
 | |
| 
 | 
