diff options
Diffstat (limited to 'storage/spider/hs_client/fatal.hpp')
-rw-r--r-- | storage/spider/hs_client/fatal.hpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/storage/spider/hs_client/fatal.hpp b/storage/spider/hs_client/fatal.hpp new file mode 100644 index 00000000..38fc149e --- /dev/null +++ b/storage/spider/hs_client/fatal.hpp @@ -0,0 +1,31 @@ + +// vim:sw=2:ai + +/* + * Copyright (C) 2010-2011 DeNA Co.,Ltd.. All rights reserved. + * Copyright (C) 2011-2017 Kentoku SHIBA + * See COPYRIGHT.txt for details. + */ + +#ifndef DENA_FATAL_HPP +#define DENA_FATAL_HPP + +#include "mysql_version.h" +#if MYSQL_VERSION_ID < 50500 +#include "mysql_priv.h" +#include <mysql/plugin.h> +#else +#include "sql_priv.h" +#include "probes_mysql.h" +#include "sql_class.h" +#endif + +namespace dena { + +void fatal_abort(const String& message); +void fatal_abort(const char *message); + +}; + +#endif + |