mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Merge pull request #26022 from kitaisreal/function-sql-json-context-ptr-build-fix
FunctionSQLJSON ContextPtr build fix
This commit is contained in:
commit
9b01ded17a
@ -144,8 +144,8 @@ template <typename Name, template <typename> typename Impl>
|
||||
class FunctionSQLJSON : public IFunction, WithConstContext
|
||||
{
|
||||
public:
|
||||
static FunctionPtr create(ContextConstPtr context_) { return std::make_shared<FunctionSQLJSON>(context_); }
|
||||
FunctionSQLJSON(ContextConstPtr context_) : WithConstContext(context_) { }
|
||||
static FunctionPtr create(ContextPtr context_) { return std::make_shared<FunctionSQLJSON>(context_); }
|
||||
explicit FunctionSQLJSON(ContextPtr context_) : WithConstContext(context_) { }
|
||||
|
||||
static constexpr auto name = Name::name;
|
||||
String getName() const override { return Name::name; }
|
||||
|
Loading…
Reference in New Issue
Block a user