mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
72cc73cea2
Reduce the number of calls to encryption_get_key_get_latest_version when doing key rotation with two different methods: (1) We need to fetch key information when tablespace not yet have a encryption information, invalid keys are handled now differently (see below). There was extra call to detect if key_id is not found on key rotation. (2) If key_id is not found from encryption plugin, do not try fetching new key_version for it as it will fail anyway. We store return value from encryption_get_key_get_latest_version call and if it returns ENCRYPTION_KEY_VERSION_INVALID there is no need to call it again. |
||
---|---|---|
.. | ||
ha_innodb.cc | ||
ha_innodb.h | ||
handler0alter.cc | ||
i_s.cc | ||
i_s.h |