diff options
Diffstat (limited to 'sql/sql_plugin_services.h')
-rw-r--r-- | sql/sql_plugin_services.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sql/sql_plugin_services.h b/sql/sql_plugin_services.h index aeb2d75efc5..4bb1861281e 100644 --- a/sql/sql_plugin_services.h +++ b/sql/sql_plugin_services.h @@ -139,15 +139,6 @@ static struct wsrep_service_st wsrep_handler = { wsrep_unlock_rollback }; -static struct encryption_keys_service_st encryption_keys_handler= -{ - get_latest_encryption_key_version, - has_encryption_key, - get_encryption_key_size, - get_encryption_key, - get_encryption_iv -}; - static struct thd_specifics_service_st thd_specifics_handler= { thd_key_create, @@ -156,6 +147,12 @@ static struct thd_specifics_service_st thd_specifics_handler= thd_setspecific }; +static struct encryption_scheme_service_st encryption_scheme_handler= +{ + encryption_scheme_encrypt, + encryption_scheme_decrypt +}; + static struct st_service_ref list_of_services[]= { { "my_snprintf_service", VERSION_my_snprintf, &my_snprintf_handler }, @@ -170,7 +167,8 @@ static struct st_service_ref list_of_services[]= { "logger_service", VERSION_logger, &logger_service_handler }, { "thd_autoinc_service", VERSION_thd_autoinc, &thd_autoinc_handler }, { "wsrep_service", VERSION_wsrep, &wsrep_handler }, - { "encryption_keys_service", VERSION_encryption_keys, &encryption_keys_handler }, + { "encryption_service", VERSION_encryption, &encryption_handler }, + { "encryption_scheme_service", VERSION_encryption_scheme, &encryption_scheme_handler }, { "thd_specifics_service", VERSION_thd_specifics, &thd_specifics_handler }, { "thd_error_context_service", VERSION_thd_error_context, &thd_error_conext_handler }, }; |