summaryrefslogtreecommitdiff
path: root/plugin/handler_socket/libhsclient/fatal.hpp
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-04-20 18:20:31 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-04-20 18:20:31 +0400
commit072ca71d26487817d025ee97955e6360c3c5c086 (patch)
treefbf90bde96cca7b2270317b7c7086b50c979b526 /plugin/handler_socket/libhsclient/fatal.hpp
parentf8adeccd78bff80725a95b73447e34a5f4528179 (diff)
downloadmariadb-git-072ca71d26487817d025ee97955e6360c3c5c086.tar.gz
MDEV-9281 - Debian: the Lintian complains about "shlib-calls-exit" in handlersocket.so
MDEV-9278 - Debian: the Lintian complains about "shlib-calls-exit" in ha_spider.so Handlersocket handles errors in a way that it aborts program execution. In most cases it is done via abort(). One exception was host/service resolution failure, which was aborted with exit(). As a workaround replaced this exit() with abort() for symmetry with other error handling.
Diffstat (limited to 'plugin/handler_socket/libhsclient/fatal.hpp')
-rw-r--r--plugin/handler_socket/libhsclient/fatal.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/handler_socket/libhsclient/fatal.hpp b/plugin/handler_socket/libhsclient/fatal.hpp
index 8a630fab1cb..5eaa3db8687 100644
--- a/plugin/handler_socket/libhsclient/fatal.hpp
+++ b/plugin/handler_socket/libhsclient/fatal.hpp
@@ -13,7 +13,6 @@
namespace dena {
-void fatal_exit(const std::string& message);
void fatal_abort(const std::string& message);
};