mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Use Poco
This commit is contained in:
parent
ca13b13d81
commit
b6966f6c88
@ -13,6 +13,7 @@
|
|||||||
#include <IO/ReadHelpers.h>
|
#include <IO/ReadHelpers.h>
|
||||||
#include <Interpreters/Context.h>
|
#include <Interpreters/Context.h>
|
||||||
#include <Core/Settings.h>
|
#include <Core/Settings.h>
|
||||||
|
#include <Poco/Environment.h>
|
||||||
|
|
||||||
#pragma clang diagnostic ignored "-Wreserved-identifier"
|
#pragma clang diagnostic ignored "-Wreserved-identifier"
|
||||||
|
|
||||||
@ -372,7 +373,7 @@ try
|
|||||||
|
|
||||||
LOG_FATAL(log, "########## Short fault info ############");
|
LOG_FATAL(log, "########## Short fault info ############");
|
||||||
LOG_FATAL(log, "(version {}{}, build id: {}, git hash: {}, architecture: {}) (from thread {}) Received signal {}",
|
LOG_FATAL(log, "(version {}{}, build id: {}, git hash: {}, architecture: {}) (from thread {}) Received signal {}",
|
||||||
VERSION_STRING, VERSION_OFFICIAL, daemon ? daemon->build_id : "", GIT_HASH, SYSTEM_PROCESSOR,
|
VERSION_STRING, VERSION_OFFICIAL, daemon ? daemon->build_id : "", GIT_HASH, Poco::Environment::osArchitecture(),
|
||||||
thread_num, sig);
|
thread_num, sig);
|
||||||
|
|
||||||
std::string signal_description = "Unknown signal";
|
std::string signal_description = "Unknown signal";
|
||||||
|
@ -15,5 +15,3 @@ const char * VERSION_DESCRIBE = "@VERSION_DESCRIBE@";
|
|||||||
const unsigned VERSION_INTEGER = @VERSION_INTEGER@;
|
const unsigned VERSION_INTEGER = @VERSION_INTEGER@;
|
||||||
|
|
||||||
const char * VERSION_GITHASH = "@VERSION_GITHASH@";
|
const char * VERSION_GITHASH = "@VERSION_GITHASH@";
|
||||||
|
|
||||||
const char * SYSTEM_PROCESSOR = "@CMAKE_SYSTEM_PROCESSOR@";
|
|
||||||
|
@ -16,7 +16,6 @@ extern const char * VERSION_OFFICIAL;
|
|||||||
extern const char * VERSION_FULL;
|
extern const char * VERSION_FULL;
|
||||||
extern const char * VERSION_DESCRIBE;
|
extern const char * VERSION_DESCRIBE;
|
||||||
extern const unsigned VERSION_INTEGER;
|
extern const unsigned VERSION_INTEGER;
|
||||||
extern const char * SYSTEM_PROCESSOR;
|
|
||||||
|
|
||||||
/// These fields are frequently changing and we don't want to have them in the header file to allow caching.
|
/// These fields are frequently changing and we don't want to have them in the header file to allow caching.
|
||||||
extern const char * VERSION_GITHASH;
|
extern const char * VERSION_GITHASH;
|
||||||
|
Loading…
Reference in New Issue
Block a user