mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Added 'innodb_file_format_check' as variable to ignore change to.
  Tests that had to restore this amended
  Two tests assumed it to be Antelope, make sure these run on a freshly
    started server
  For 5.5, apparently innodb_file_format_max is the one to ignore
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			535 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			535 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
-- source include/have_innodb_plugin.inc
 | 
						|
 | 
						|
let $file_format=`select @@innodb_file_format`;
 | 
						|
let $file_per_table=`select @@innodb_file_per_table`;
 | 
						|
 | 
						|
SET GLOBAL innodb_file_format='Barracuda';
 | 
						|
SET GLOBAL innodb_file_per_table=on;
 | 
						|
 | 
						|
set old_alter_table=0;
 | 
						|
 | 
						|
CREATE TABLE bug53591(a text charset utf8 not null)
 | 
						|
ENGINE=InnoDB KEY_BLOCK_SIZE=1;
 | 
						|
-- error 139
 | 
						|
ALTER TABLE bug53591 ADD PRIMARY KEY(a(220));
 | 
						|
SHOW WARNINGS;
 | 
						|
 | 
						|
DROP TABLE bug53591;
 | 
						|
 | 
						|
EVAL SET GLOBAL innodb_file_format=$file_format;
 | 
						|
EVAL SET GLOBAL innodb_file_per_table=$file_per_table;
 |