diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2017-04-21 11:52:25 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2017-04-21 17:47:15 +0300 |
commit | 555e52f3bc8d67d0cfe176d25e2fe0c73fdb2fd2 (patch) | |
tree | 87bb996e3868f7a232846994401c33d28f380b22 /storage/innobase/include/fsp0pagecompress.ic | |
parent | d23eb8e6d27dfc6450465baa2897db5ebd334ea6 (diff) | |
download | mariadb-git-555e52f3bc8d67d0cfe176d25e2fe0c73fdb2fd2.tar.gz |
MDEV-12467 encryption.create_or_replace hangs during DROP TABLE
fil_crypt_thread(): Do invoke fil_crypt_complete_rotate_space()
when the tablespace is about to be dropped. Also, remove a redundant
check whether rotate_thread_t::space is NULL. It can only become
NULL when fil_crypt_find_space_to_rotate() returns false, and in
that case we would already have terminated the loop.
fil_crypt_find_page_to_rotate(): Remove a redundant check for
space->crypt_data == NULL. Once encryption metadata has been
created for a tablespace, it cannot be removed without dropping
the entire tablespace.
Diffstat (limited to 'storage/innobase/include/fsp0pagecompress.ic')
0 files changed, 0 insertions, 0 deletions