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:
@ -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
|
||||
|
Reference in New Issue
Block a user