summaryrefslogtreecommitdiff
path: root/libservices
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mnogosearch.org>2013-12-12 19:18:49 +0400
committerAlexander Barkov <bar@mnogosearch.org>2013-12-12 19:18:49 +0400
commit1345a759229c3b42d54db5d0b7a276dece838fb8 (patch)
treec5e3d314d97fd2b4ca81e8945508d29770d6acb7 /libservices
parent67f514382b18356a981ac5023276aa1c5e11481f (diff)
downloadmariadb-git-1345a759229c3b42d54db5d0b7a276dece838fb8.tar.gz
MroongaSE: addint thd_autoinc and thd_error_context plugin services
Diffstat (limited to 'libservices')
-rw-r--r--libservices/CMakeLists.txt2
-rw-r--r--libservices/thd_autoinc_service.c18
-rw-r--r--libservices/thd_error_context_service.c18
3 files changed, 38 insertions, 0 deletions
diff --git a/libservices/CMakeLists.txt b/libservices/CMakeLists.txt
index ff8a16b774b..d70a98802f5 100644
--- a/libservices/CMakeLists.txt
+++ b/libservices/CMakeLists.txt
@@ -20,6 +20,8 @@ SET(MYSQLSERVICES_SOURCES
thd_alloc_service.c
thd_wait_service.c
thd_timezone_service.c
+ thd_autoinc_service.c
+ thd_error_context_service.c
progress_report_service.c
debug_sync_service.c
my_sha1_service.c
diff --git a/libservices/thd_autoinc_service.c b/libservices/thd_autoinc_service.c
new file mode 100644
index 00000000000..cb859a70e55
--- /dev/null
+++ b/libservices/thd_autoinc_service.c
@@ -0,0 +1,18 @@
+/* Copyright (C) 2013 MariaDB Foundation
+ Use is subject to license terms.
+
+ 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_autoinc_service= (void *) VERSION_thd_autoinc;
diff --git a/libservices/thd_error_context_service.c b/libservices/thd_error_context_service.c
new file mode 100644
index 00000000000..80eb6263b52
--- /dev/null
+++ b/libservices/thd_error_context_service.c
@@ -0,0 +1,18 @@
+/* Copyright (C) 2013 MariaDB Foundation
+ Use is subject to license terms.
+
+ 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_error_context_service= (void *) VERSION_thd_error_context;