diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 18:00:34 +0000 |
commit | 3f619478f796eddbba6e39502fe941b285dd97b1 (patch) | |
tree | e2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/suite/encryption/r/debug_key_management.result | |
parent | Initial commit. (diff) | |
download | mariadb-upstream.tar.xz mariadb-upstream.zip |
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/suite/encryption/r/debug_key_management.result')
-rw-r--r-- | mysql-test/suite/encryption/r/debug_key_management.result | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mysql-test/suite/encryption/r/debug_key_management.result b/mysql-test/suite/encryption/r/debug_key_management.result new file mode 100644 index 00000000..7fe681d5 --- /dev/null +++ b/mysql-test/suite/encryption/r/debug_key_management.result @@ -0,0 +1,27 @@ +create table t1(a serial) engine=innoDB; +set global innodb_encrypt_tables=ON; +show variables like 'innodb_encrypt%'; +Variable_name Value +innodb_encrypt_log ON +innodb_encrypt_tables ON +innodb_encrypt_temporary_tables OFF +innodb_encryption_rotate_key_age 2 +innodb_encryption_rotation_iops 100 +innodb_encryption_threads 4 +select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 1; +count(*) +0 +set global debug_key_management_version=10; +select count(*) from information_schema.innodb_tablespaces_encryption where current_key_version <> 10; +count(*) +0 +SET GLOBAL innodb_log_checkpoint_now = 1; +SET GLOBAL innodb_flush_log_at_trx_commit = 1; +INSERT INTO t1 VALUES(NULL); +# restart +set global innodb_encrypt_tables=OFF; +set global debug_key_management_version=1; +select * from t1; +a +1 +drop table t1; |