1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-8158 InnoDB: Failing assertion: new_state->key_version != ENCRYPTION_KEY_VERSION_INVALID on dynamic change of encryption variables

don't allow to enable srv_encrypt_tables if no
encryption plugin is loaded
This commit is contained in:
Sergei Golubchik
2015-05-14 12:25:47 +02:00
parent 8827eb8325
commit 8815fb3d45
4 changed files with 119 additions and 6 deletions

View File

@ -19,10 +19,13 @@ where variable_name='innodb_encrypt_tables';
#
# show that it's writable
#
--error ER_WRONG_VALUE_FOR_VAR
set global innodb_encrypt_tables=ON;
show warnings;
select @@global.innodb_encrypt_tables;
set global innodb_encrypt_tables=OFF;
select @@global.innodb_encrypt_tables;
--error ER_WRONG_VALUE_FOR_VAR
set global innodb_encrypt_tables=1;
select @@global.innodb_encrypt_tables;
--error ER_GLOBAL_VARIABLE