mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	- Move the specific test case to a separate file that is run only if we have a disabled handler.
		
			
				
	
	
		
			20 lines
		
	
	
		
			415 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			415 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# Only run this test with a compiled in but disabled
 | 
						|
# engine
 | 
						|
#
 | 
						|
disable_query_log;
 | 
						|
--require r/true.require
 | 
						|
select support = 'Disabled' as `TRUE` from information_schema.engines where engine = 'ndbcluster';
 | 
						|
enable_query_log;
 | 
						|
 | 
						|
 | 
						|
#
 | 
						|
# Test for handler type, will select MyISAM and print a warning
 | 
						|
# about that - since NDB is disabled
 | 
						|
#
 | 
						|
create table t1 (id int) engine=NDB;
 | 
						|
alter table t1 engine=NDB;
 | 
						|
drop table t1;
 | 
						|
 | 
						|
 |