mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	innodb_file_format=Barracuda is the default in MariaDB 10.2. Do not set it, because the option will be removed in MariaDB 10.3. Also, do not set innodb_file_per_table=1 because it is the default. Note that MDEV-11828 should fix the test innodb.innodb-64k already in 10.1.
		
			
				
	
	
		
			18 lines
		
	
	
		
			402 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			402 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| create table t1(a blob) engine=innodb key_block_size=8;
 | |
| create function generate_blob()
 | |
| returns varchar(20000)
 | |
| begin
 | |
| declare x varchar(20000) default '';
 | |
| declare i int default 500;
 | |
| while i > 0 do
 | |
| set x = concat(sha1(i), x);
 | |
| set i = i - 1;
 | |
| end while;
 | |
| return x;
 | |
| end //
 | |
| insert into t1 select generate_blob();
 | |
| truncate t1;
 | |
| insert into t1 select generate_blob();
 | |
| drop table t1;
 | |
| drop function generate_blob;
 |