summaryrefslogtreecommitdiff
path: root/libservices
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-12-03 23:51:47 +0100
committerSergei Golubchik <serg@mariadb.org>2014-12-04 10:41:55 +0100
commit8360e1a5b5e44debcc7aeaa10331278eb6273176 (patch)
treea971c74f153b0779d00a64df7959ea2334de2917 /libservices
parent0c7d773fca1497ce4edae0a72c6f01348b0ca9be (diff)
downloadmariadb-git-8360e1a5b5e44debcc7aeaa10331278eb6273176.tar.gz
MDEV-6712 THD specifics for plugins
thd_specifics service
Diffstat (limited to 'libservices')
-rw-r--r--libservices/CMakeLists.txt1
-rw-r--r--libservices/thd_specifics_service.c17
2 files changed, 18 insertions, 0 deletions
diff --git a/libservices/CMakeLists.txt b/libservices/CMakeLists.txt
index 46be68a5b7f..2d105348410 100644
--- a/libservices/CMakeLists.txt
+++ b/libservices/CMakeLists.txt
@@ -22,6 +22,7 @@ SET(MYSQLSERVICES_SOURCES
thd_timezone_service.c
thd_autoinc_service.c
thd_error_context_service.c
+ thd_specifics_service.c
progress_report_service.c
debug_sync_service.c
my_sha1_service.c
diff --git a/libservices/thd_specifics_service.c b/libservices/thd_specifics_service.c
new file mode 100644
index 00000000000..19d4eb28045
--- /dev/null
+++ b/libservices/thd_specifics_service.c
@@ -0,0 +1,17 @@
+/* Copyright (C) 2014 MariaDB
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+
+#include <service_versions.h>
+SERVICE_VERSION thd_specifics_service= (void *) VERSION_thd_specifics;