mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix test failure on debug_key_management test.
This commit is contained in:
@ -11,14 +11,15 @@ show variables like 'innodb_encrypt%';
|
||||
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;
|
||||
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;
|
||||
--source include/wait_condition.inc
|
||||
|
||||
select space,name,current_key_version from information_schema.innodb_tablespaces_encryption order by space;
|
||||
select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 10;
|
||||
# Note that we expect that key_version is increasing so disable encryption before reset
|
||||
|
||||
set global innodb_encrypt_tables=OFF;
|
||||
set global debug_key_management_version=1;
|
||||
|
||||
|
Reference in New Issue
Block a user