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:
13
mysql-test/suite/innodb/t/innodb_encryption_debug.test
Normal file
13
mysql-test/suite/innodb/t/innodb_encryption_debug.test
Normal 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;
|
||||
|
||||
Reference in New Issue
Block a user