mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Tests: fix encryption.encrypt_and_grep [#387]
This commit is contained in:
parent
2e3b580ba4
commit
f14f04838b
2 changed files with 2 additions and 2 deletions
|
@ -37,11 +37,11 @@ mysql/innodb_table_stats
|
||||||
mysql/innodb_index_stats
|
mysql/innodb_index_stats
|
||||||
mysql/transaction_registry
|
mysql/transaction_registry
|
||||||
mysql/vtmd_template
|
mysql/vtmd_template
|
||||||
|
test/t2
|
||||||
test/t3
|
test/t3
|
||||||
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION <> 0;
|
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION <> 0;
|
||||||
NAME
|
NAME
|
||||||
test/t1
|
test/t1
|
||||||
test/t2
|
|
||||||
innodb_system
|
innodb_system
|
||||||
# t1 yes on expecting NOT FOUND
|
# t1 yes on expecting NOT FOUND
|
||||||
NOT FOUND /foobarsecret/ in t1.ibd
|
NOT FOUND /foobarsecret/ in t1.ibd
|
||||||
|
|
|
@ -60,7 +60,7 @@ SET GLOBAL innodb_encrypt_tables = off;
|
||||||
|
|
||||||
--echo # Wait max 10 min for key encryption threads to decrypt all spaces
|
--echo # Wait max 10 min for key encryption threads to decrypt all spaces
|
||||||
--let $wait_timeout= 600
|
--let $wait_timeout= 600
|
||||||
--let $wait_condition=SELECT COUNT(*) = 5 FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0 AND CURRENT_KEY_VERSION = 0;
|
--let $wait_condition=SELECT COUNT(*) = 6 FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0 AND CURRENT_KEY_VERSION = 0;
|
||||||
--source include/wait_condition.inc
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0;
|
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue