Fix build due to conflicts in serverConstants

Refs: #29755
Refs: #29913
This commit is contained in:
Azat Khuzhin 2021-10-10 03:40:51 +03:00
parent fbbc515a2f
commit cc1fbe27a7

View File

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