mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-8159 InnoDB: Failing assertion: key_state->key_id
to simplify various checks, set crypt_data->key_id even for not encrypted tablespaces
This commit is contained in:
14
mysql-test/suite/encryption/t/innodb-encr-threads.test
Normal file
14
mysql-test/suite/encryption/t/innodb-encr-threads.test
Normal file
@ -0,0 +1,14 @@
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_file_key_management_plugin.inc
|
||||
|
||||
#
|
||||
# MDEV-8159 InnoDB: Failing assertion: key_state->key_id
|
||||
#
|
||||
create table t1 (i int) engine=innodb;
|
||||
set global innodb_encryption_threads = 1;
|
||||
set global innodb_encryption_rotate_key_age = 2;
|
||||
insert t1 values (1);
|
||||
set global innodb_encryption_threads = 0;
|
||||
set global innodb_encryption_rotate_key_age = 1;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user