summaryrefslogtreecommitdiff
path: root/client/mysqltest.cc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2018-10-10 18:25:53 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2018-11-06 10:22:25 +0200
commitef40018535b71f0a4387fa6c1cc22e9991dfc0db (patch)
tree7de531d34d6d3527de2db29bc0f25c03a24ab502 /client/mysqltest.cc
parentbae21bfb5de17328c33c3da8d191c6d3af14ae02 (diff)
downloadmariadb-git-ef40018535b71f0a4387fa6c1cc22e9991dfc0db.tar.gz
MDEV-17230: encryption_key_id from alter is ignored by encryption threads
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 'client/mysqltest.cc')
0 files changed, 0 insertions, 0 deletions