mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| -- source include/have_innodb.inc
 | |
| 
 | |
| call mtr.add_suppression("InnoDB: invalid innodb_file_format_check value");
 | |
| 
 | |
| let $format=`select @@innodb_file_format`;
 | |
| let $innodb_file_format_check_orig=`select @@innodb_file_format_check`;
 | |
| 
 | |
| select @@innodb_file_format;
 | |
| select @@innodb_file_format_check;
 | |
| set global innodb_file_format=antelope;
 | |
| set global innodb_file_format=barracuda;
 | |
| --error ER_WRONG_ARGUMENTS
 | |
| set global innodb_file_format=cheetah;
 | |
| select @@innodb_file_format;
 | |
| set global innodb_file_format=default;
 | |
| select @@innodb_file_format;
 | |
| --error ER_WRONG_ARGUMENTS
 | |
| set global innodb_file_format=on;
 | |
| --error ER_WRONG_ARGUMENTS
 | |
| set global innodb_file_format=off;
 | |
| select @@innodb_file_format;
 | |
| set global innodb_file_format_check=antelope;
 | |
| set global innodb_file_format_check=barracuda;
 | |
| --error ER_WRONG_ARGUMENTS
 | |
| set global innodb_file_format_check=cheetah;
 | |
| select @@innodb_file_format_check;
 | |
| set global innodb_file_format_check=default;
 | |
| select @@innodb_file_format_check;
 | |
| --error ER_WRONG_ARGUMENTS
 | |
| set global innodb_file_format=on;
 | |
| --error ER_WRONG_ARGUMENTS
 | |
| set global innodb_file_format=off;
 | |
| select @@innodb_file_format_check;
 | |
| 
 | |
| #
 | |
| # restore environment to the state it was before this test execution
 | |
| #
 | |
| 
 | |
| -- disable_query_log
 | |
| eval set global innodb_file_format=$format;
 | |
| eval set global innodb_file_format_check=$innodb_file_format_check_orig;
 | |
| -- enable_query_log
 |