fix subscription handlers

This commit is contained in:
serxa 2024-09-21 19:07:44 +00:00
parent b83fd18c9c
commit 50168629b0

View File

@ -50,7 +50,8 @@ WorkloadEntityType getEntityType(const ASTPtr & ptr)
}
WorkloadEntityStorageBase::WorkloadEntityStorageBase(ContextPtr global_context_)
: global_context(std::move(global_context_))
: handlers(std::make_shared<Handlers>())
, global_context(std::move(global_context_))
{}
ASTPtr WorkloadEntityStorageBase::get(const String & entity_name) const