mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	and innodb_file_format_max two system variables. And this also fixes bug #53654 after 2nd shutdown innodb_file_format_check attains strange values. rb://366 approved by Marko
		
			
				
	
	
		
			25 lines
		
	
	
		
			990 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			990 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
set @old_innodb_file_format_max=@@innodb_file_format_max;
 | 
						|
select @old_innodb_file_format_max;
 | 
						|
@old_innodb_file_format_max
 | 
						|
Antelope
 | 
						|
set global innodb_file_format_max = Barracuda;
 | 
						|
select @@innodb_file_format_max;
 | 
						|
@@innodb_file_format_max
 | 
						|
Barracuda
 | 
						|
set global innodb_file_format_max = DEFAULT;
 | 
						|
select @@innodb_file_format_max;
 | 
						|
@@innodb_file_format_max
 | 
						|
Antelope
 | 
						|
set global innodb_file_format_max = @old_innodb_file_format_max;
 | 
						|
select @@innodb_file_format_max;
 | 
						|
@@innodb_file_format_max
 | 
						|
Antelope
 | 
						|
set global innodb_file_format_max = cheetah;
 | 
						|
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'cheetah'
 | 
						|
set global innodb_file_format_max = Bear;
 | 
						|
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'Bear'
 | 
						|
set global innodb_file_format_max = on;
 | 
						|
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'ON'
 | 
						|
set global innodb_file_format_max = off;
 | 
						|
ERROR 42000: Variable 'innodb_file_format_max' can't be set to the value of 'off'
 |