Merge pull request #56720 from ClickHouse/light-autogenerated-file

Light autogenerated file
This commit is contained in:
Alexey Milovidov 2023-11-14 09:22:09 +01:00 committed by GitHub
commit a456b624a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View File

@ -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();

View File

@ -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@";