1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

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.
This commit is contained in:
Sergey Vojtovich
2016-04-20 18:20:31 +04:00
parent f8adeccd78
commit 072ca71d26
7 changed files with 5 additions and 36 deletions

View File

@ -13,7 +13,6 @@
namespace dena {
void fatal_exit(const std::string& message);
void fatal_abort(const std::string& message);
};