mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Fix build due to conflicts in serverConstants
Refs: #29755 Refs: #29913
This commit is contained in:
parent
fbbc515a2f
commit
cc1fbe27a7
@ -106,7 +106,7 @@ namespace
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static constexpr auto name = "getOSKernelVersion";
|
static constexpr auto name = "getOSKernelVersion";
|
||||||
explicit FunctionGetOSKernelVersion(ContextPtr context) : FunctionConstantBase(context, Poco::Environment::osName() + " " + Poco::Environment::osVersion()) {}
|
explicit FunctionGetOSKernelVersion(ContextPtr context) : FunctionConstantBase(Poco::Environment::osName() + " " + Poco::Environment::osVersion(), context->isDistributed()) {}
|
||||||
static FunctionPtr create(ContextPtr context) { return std::make_shared<FunctionGetOSKernelVersion>(context); }
|
static FunctionPtr create(ContextPtr context) { return std::make_shared<FunctionGetOSKernelVersion>(context); }
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user