summaryrefslogtreecommitdiff
path: root/mysql-test/suite/encryption/r/debug_key_management.result
blob: 02e05b4d22168c80833c8bf663180b2ba9bfbe05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set global innodb_encrypt_tables=ON;
show variables like 'innodb_encrypt%';
Variable_name	Value
innodb_encrypt_log	ON
innodb_encrypt_tables	ON
innodb_encryption_rotate_key_age	2
innodb_encryption_rotation_iops	100
innodb_encryption_threads	4
select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 1;
count(*)
0
set global debug_key_management_version=10;
select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 10;
count(*)
0
set global innodb_encrypt_tables=OFF;
set global debug_key_management_version=1;