mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	As presently PARTITIONS + FEDERATED just doesn't work i added error message to inform user about that. Should be enabled again after releted WL's completion. storage/federated/ha_federated.cc: partitioning disabled in FEDERATED engine mysql-test/r/partition_federated.result: result added mysql-test/t/partition_federated.test: test added
		
			
				
	
	
		
			22 lines
		
	
	
		
			515 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			515 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #
 | |
| # Tests for partitioned FEDERATED
 | |
| #
 | |
| -- source include/have_partition.inc
 | |
| -- source include/not_embedded.inc
 | |
| -- source include/have_federated_db.inc
 | |
| 
 | |
| --disable_warnings
 | |
| drop table if exists t1;
 | |
| --enable_warnings
 | |
| 
 | |
| #
 | |
| # Bug #22451 Partitions: duplicate results with engine=federated 
 | |
| #
 | |
| 
 | |
| --error ER_PARTITION_MERGE_ERROR
 | |
| create table t1 (s1 int) engine=federated
 | |
| connection='mysql://root@localhost/federated/t1' partition by list (s1)
 | |
| (partition p1 values in (1), partition p2 values in (2));
 | |
| 
 | |
| --echo End of 5.1 tests
 |