1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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:
Sergei Golubchik
2015-05-14 08:37:34 +02:00
parent 2300fe2e0e
commit a94cabd503
4 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,7 @@
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;