summaryrefslogtreecommitdiff
path: root/sql/sql_plugin_services.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-11-28 18:38:09 +0100
committerSergei Golubchik <serg@mariadb.org>2014-11-29 20:22:00 +0100
commit6293c6936bd8aa14c62e474dab11249083bad2da (patch)
tree7c8893cd71544e1f38ddf80ab73a4907db68ad84 /sql/sql_plugin_services.h
parent612c9964d35830fd54b0b1ec7893f886c393b9cb (diff)
downloadmariadb-git-MDEV-thd-specifics.tar.gz
thd_specifics serviceMDEV-thd-specifics
Diffstat (limited to 'sql/sql_plugin_services.h')
-rw-r--r--sql/sql_plugin_services.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sql_plugin_services.h b/sql/sql_plugin_services.h
index 399de854218..c99691ab579 100644
--- a/sql/sql_plugin_services.h
+++ b/sql/sql_plugin_services.h
@@ -139,6 +139,14 @@ static struct wsrep_service_st wsrep_handler = {
wsrep_unlock_rollback
};
+static struct thd_specifics_service_st thd_specifics_handler=
+{
+ thd_key_create,
+ thd_key_delete,
+ thd_getspecific,
+ thd_setspecific
+};
+
static struct st_service_ref list_of_services[]=
{
{ "my_snprintf_service", VERSION_my_snprintf, &my_snprintf_handler },
@@ -153,6 +161,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 },
+ { "thd_specifics_service", VERSION_thd_specifics, &thd_specifics_handler },
{ "thd_error_context_service", VERSION_thd_error_context, &thd_error_conext_handler },
};