1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-16 20:23:18 +03:00

move debug_use_static_encryption_keys and debug_encryption_key_version to a plugin

This commit is contained in:
Sergei Golubchik
2015-03-26 11:12:02 +01:00
parent b937574293
commit c238e68d96
12 changed files with 137 additions and 94 deletions

View File

@@ -0,0 +1,13 @@
-- source include/have_innodb.inc
if (`select count(*) = 0 from information_schema.plugins
where plugin_name = 'debug_key_management_plugin' and plugin_status='active'`)
{
--skip Needs debug_key_management_plugin
}
show variables like 'innodb_encrypt%';
select space,name,min_key_version,current_key_version from information_schema.innodb_tablespaces_encryption;
set global debug_key_management_plugin_version=10;
select space,name,min_key_version,current_key_version from information_schema.innodb_tablespaces_encryption;
set global debug_key_management_plugin_version=1;