mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01: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.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			534 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			534 B
		
	
	
	
		
			Text
		
	
	
	
	
	
CREATE TABLE t1 (c VARCHAR(8)) ENGINE=InnoDB ENCRYPTED=YES ENCRYPTION_KEY_ID=1;
 | 
						|
CREATE TABLE t2 (c VARCHAR(8)) ENGINE=InnoDB ENCRYPTED=YES ENCRYPTION_KEY_ID=2;
 | 
						|
INSERT INTO t1 VALUES ('foobar');
 | 
						|
INSERT INTO t2 VALUES ('foobar');
 | 
						|
SELECT NAME, ENCRYPTION_SCHEME, MIN_KEY_VERSION, CURRENT_KEY_VERSION,
 | 
						|
CURRENT_KEY_ID
 | 
						|
FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION
 | 
						|
WHERE NAME LIKE '%t1' OR NAME LIKE '%t2';
 | 
						|
NAME	ENCRYPTION_SCHEME	MIN_KEY_VERSION	CURRENT_KEY_VERSION	CURRENT_KEY_ID
 | 
						|
test/t1	1	1	1	1
 | 
						|
test/t2	1	1	1	2
 | 
						|
DROP TABLE t1, t2;
 |