mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	The variable innodb_change_buffering_debug is only present in debug builds. Hide it from the test, so that the test passes in both debug and non-debug.
		
			
				
	
	
		
			18 lines
		
	
	
		
			891 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			891 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
create table t1 (test_name text);
 | 
						|
create table t2 (variable_name text);
 | 
						|
load data infile "MYSQLTEST_VARDIR/tmp/sys_vars.all_vars.txt" into table t1;
 | 
						|
insert into t2 select variable_name from information_schema.global_variables;
 | 
						|
insert into t2 select variable_name from information_schema.session_variables;
 | 
						|
delete from t2 where variable_name='innodb_change_buffering_debug';
 | 
						|
update t2 set variable_name= replace(variable_name, "PERFORMANCE_SCHEMA_", "PFS_");
 | 
						|
select variable_name as `There should be *no* long test name listed below:` from t2
 | 
						|
where length(variable_name) > 50;
 | 
						|
There should be *no* long test name listed below:
 | 
						|
select variable_name as `There should be *no* variables listed below:` from t2
 | 
						|
left join t1 on variable_name=test_name where test_name is null;
 | 
						|
There should be *no* variables listed below:
 | 
						|
INNODB_FILE_FORMAT_MAX
 | 
						|
INNODB_FILE_FORMAT_MAX
 | 
						|
drop table t1;
 | 
						|
drop table t2;
 |