diff options
author | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-10-10 18:25:53 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2018-10-10 18:25:53 +0300 |
commit | 0bafdc478c4ab8c577331b950dc7719abd6781c1 (patch) | |
tree | bd09be88f13ab64c369c9aafd7869b36d6c0a8af /win | |
parent | 3c3c4ae22545d3242a8b7c4f2bec3bf2d245890a (diff) | |
download | mariadb-git-bb-10.1-MDEV-17230.tar.gz |
MDEV-17230: encryption_key_id from alter is ignored by encryption threadsbb-10.1-MDEV-17230
Background: Used encryption key_id is stored to encryption metadata
i.e. crypt_data that is stored on page 0 of the tablespace of the
table. crypt_data is created only if implicit encryption/not encryption
is requested i.e. ENCRYPTED=[YES|NO] table option is used
fil_create_new_single_table_tablespace on fil0fil.cc.
Later if encryption is enabled all tables that use default encryption
mode (i.e. no encryption table option is set) are encrypted with
default encryption key_id that is 1. See fil_crypt_start_encrypting_space on
fil0crypt.cc.
ha_innobase::check_table_options()
If default encryption is used and encryption is disabled, you may
not use nondefault encryption_key_id as it is not stored anywhere.
Diffstat (limited to 'win')
0 files changed, 0 insertions, 0 deletions