1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Fix test failure on debug_key_management test.

This commit is contained in:
Jan Lindström
2017-03-28 12:28:09 +03:00
parent ba298b1f02
commit c56b896c17
2 changed files with 9 additions and 12 deletions

View File

@@ -6,16 +6,12 @@ innodb_encrypt_tables ON
innodb_encryption_rotate_key_age 2
innodb_encryption_rotation_iops 100
innodb_encryption_threads 4
select space,name,current_key_version from information_schema.innodb_tablespaces_encryption order by space;
space name current_key_version
0 ./ibdata1 1
1 mysql/innodb_table_stats 1
2 mysql/innodb_index_stats 1
select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 1;
count(*)
0
set global debug_key_management_version=10;
select space,name,current_key_version from information_schema.innodb_tablespaces_encryption order by space;
space name current_key_version
0 ./ibdata1 10
1 mysql/innodb_table_stats 10
2 mysql/innodb_index_stats 10
select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 10;
count(*)
0
set global innodb_encrypt_tables=OFF;
set global debug_key_management_version=1;