summaryrefslogtreecommitdiff
path: root/sql/sql_plugin_services.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_plugin_services.h')
-rw-r--r--sql/sql_plugin_services.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/sql_plugin_services.h b/sql/sql_plugin_services.h
index c99691ab579..aeb2d75efc5 100644
--- a/sql/sql_plugin_services.h
+++ b/sql/sql_plugin_services.h
@@ -139,6 +139,15 @@ 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,
@@ -161,6 +170,7 @@ 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 },
{ "thd_specifics_service", VERSION_thd_specifics, &thd_specifics_handler },
{ "thd_error_context_service", VERSION_thd_error_context, &thd_error_conext_handler },
};