mirror of
https://github.com/MariaDB/server.git
synced 2025-02-04 21:02:17 +01:00
072ca71d26
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.
21 lines
260 B
C++
21 lines
260 B
C++
|
|
// vim:sw=2:ai
|
|
|
|
/*
|
|
* Copyright (C) 2010 DeNA Co.,Ltd.. All rights reserved.
|
|
* See COPYRIGHT.txt for details.
|
|
*/
|
|
|
|
#ifndef DENA_FATAL_HPP
|
|
#define DENA_FATAL_HPP
|
|
|
|
#include <string>
|
|
|
|
namespace dena {
|
|
|
|
void fatal_abort(const std::string& message);
|
|
|
|
};
|
|
|
|
#endif
|
|
|