innodb_encryption_debug.test 877 Bytes
Newer Older
1 2
-- source include/have_innodb.inc
if (`select count(*) = 0 from information_schema.plugins
3
     where plugin_name = 'debug_key_management' and plugin_status='active'`)
4
{
5
  --skip Needs debug_key_management
6 7 8
}

show variables like 'innodb_encrypt%';
9 10 11 12 13

let $wait_condition= select count(*) = 3 from information_schema.innodb_tablespaces_encryption where current_key_version=1;
--source include/wait_condition.inc

select space,name,current_key_version from information_schema.innodb_tablespaces_encryption order by space;
14
set global debug_key_management_version=10;
15 16 17 18 19

let $wait_condition= select count(*) = 3 from information_schema.innodb_tablespaces_encryption where current_key_version=10;
--source include/wait_condition.inc

select space,name,current_key_version from information_schema.innodb_tablespaces_encryption order by space;
20
set global debug_key_management_version=1;
21