From 7aabc2ded2b63fed1e149276bfb5f8e0fd7d723f Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 27 Sep 2014 22:29:10 +0200 Subject: fixing embedded: WaaS. Wsrep as a Service. --- libservices/CMakeLists.txt | 1 + libservices/wsrep_service.c | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 libservices/wsrep_service.c (limited to 'libservices') 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 + +/* file reserved for the future use */ +SERVICE_VERSION wsrep_service= (void *) VERSION_wsrep; + -- cgit v1.2.1