mariadb/storage/innobase/handler
Jan Lindström 72cc73cea2 MDEV-10368: get_latest_version() called too often
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.
2016-12-13 11:51:33 +02:00
..
ha_innodb.cc MDEV-10368: get_latest_version() called too often 2016-12-13 11:51:33 +02:00
ha_innodb.h Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
handler0alter.cc Merge branch '10.0' into 10.1 2016-09-28 17:55:28 +02:00
i_s.cc Merge branch '10.0' into 10.1 2016-09-28 17:55:28 +02:00
i_s.h Fix compiler error if compiler does not support c99 style 2015-05-07 18:30:42 +03:00