summaryrefslogtreecommitdiff
path: root/libservices
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-09-27 22:29:10 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-01 23:48:34 +0200
commit7aabc2ded2b63fed1e149276bfb5f8e0fd7d723f (patch)
tree1fb5d91a553036e7faee2400cde45a94a99cd049 /libservices
parent8877adb773abeafafcdee18fe30fca1c8589ee2c (diff)
downloadmariadb-git-7aabc2ded2b63fed1e149276bfb5f8e0fd7d723f.tar.gz
fixing embedded: WaaS. Wsrep as a Service.
Diffstat (limited to 'libservices')
-rw-r--r--libservices/CMakeLists.txt1
-rw-r--r--libservices/wsrep_service.c20
2 files changed, 21 insertions, 0 deletions
diff --git a/libservices/CMakeLists.txt b/libservices/CMakeLists.txt
index 12f7d6cc1a8..46be68a5b7f 100644
--- a/libservices/CMakeLists.txt
+++ b/libservices/CMakeLists.txt
@@ -26,6 +26,7 @@ SET(MYSQLSERVICES_SOURCES
debug_sync_service.c
my_sha1_service.c
my_md5_service.c
+ wsrep_service.c
kill_statement_service.c
logger_service.c)
diff --git a/libservices/wsrep_service.c b/libservices/wsrep_service.c
new file mode 100644
index 00000000000..5faf1a12d05
--- /dev/null
+++ b/libservices/wsrep_service.c
@@ -0,0 +1,20 @@
+/* Copyright (C) 2014 SkySQL Ab.
+
+ 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#include <service_versions.h>
+
+/* file reserved for the future use */
+SERVICE_VERSION wsrep_service= (void *) VERSION_wsrep;
+