mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	if ndbcluster's nodes aren't set, the handlerton can return zero partitions in the partitioned table. So we should check for that.
		
			
				
	
	
		
			15 lines
		
	
	
		
			369 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			369 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
disable_query_log;
 | 
						|
--require r/true.require
 | 
						|
select support = 'Enabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
 | 
						|
enable_query_log;
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
drop table if exists t1;
 | 
						|
--enable_warnings
 | 
						|
#
 | 
						|
# Bug #27359 Partitions: memory allocation error message 
 | 
						|
#
 | 
						|
--error ER_PARTITION_NOT_DEFINED_ERROR
 | 
						|
create table t1 (s1 int) engine=ndbcluster;
 | 
						|
 |