mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Merge pull request #56720 from ClickHouse/light-autogenerated-file
Light autogenerated file
This commit is contained in:
commit
a456b624a8
@ -967,7 +967,7 @@ static void blockSignals(const std::vector<int> & signals)
|
||||
throw Poco::Exception("Cannot block signal.");
|
||||
}
|
||||
|
||||
extern String getGitHash();
|
||||
extern const char * GIT_HASH;
|
||||
|
||||
void BaseDaemon::initializeTerminationAndSignalProcessing()
|
||||
{
|
||||
@ -1007,7 +1007,7 @@ void BaseDaemon::initializeTerminationAndSignalProcessing()
|
||||
build_id = "";
|
||||
#endif
|
||||
|
||||
git_hash = getGitHash();
|
||||
git_hash = GIT_HASH;
|
||||
|
||||
#if defined(OS_LINUX)
|
||||
std::string executable_path = getExecutablePath();
|
||||
|
@ -1,8 +1,3 @@
|
||||
/// This file was autogenerated by CMake
|
||||
|
||||
#include <base/types.h>
|
||||
|
||||
String getGitHash()
|
||||
{
|
||||
return "@GIT_HASH@";
|
||||
}
|
||||
const char * GIT_HASH = "@GIT_HASH@";
|
||||
|
Loading…
Reference in New Issue
Block a user