mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Scripts: VTMD table [closes #122]
This commit is contained in:
@@ -8,13 +8,13 @@ if (`select count(*) = 0 from information_schema.plugins
|
||||
set global innodb_encrypt_tables=ON;
|
||||
show variables like 'innodb_encrypt%';
|
||||
|
||||
let $wait_condition= select count(*) = 3 from information_schema.innodb_tablespaces_encryption where current_key_version=1;
|
||||
let $wait_condition= select count(*) = 4 from information_schema.innodb_tablespaces_encryption where current_key_version=1;
|
||||
--source include/wait_condition.inc
|
||||
|
||||
select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 1;
|
||||
set global debug_key_management_version=10;
|
||||
|
||||
let $wait_condition= select count(*) = 3 from information_schema.innodb_tablespaces_encryption where current_key_version=10;
|
||||
let $wait_condition= select count(*) = 4 from information_schema.innodb_tablespaces_encryption where current_key_version=10;
|
||||
--source include/wait_condition.inc
|
||||
|
||||
select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 10;
|
||||
|
@@ -26,7 +26,7 @@ insert t3 values (repeat('dummy', 42));
|
||||
|
||||
--echo # Wait max 10 min for key encryption threads to encrypt all spaces
|
||||
--let $wait_timeout= 600
|
||||
--let $wait_condition=SELECT COUNT(*) = 1 FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0
|
||||
--let $wait_condition=SELECT COUNT(*) <= 2 FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0
|
||||
--source include/wait_condition.inc
|
||||
|
||||
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0;
|
||||
|
Reference in New Issue
Block a user