MCPcopy Create free account
hub / github.com/ByConity/ByConity / getAsyncQueryManager

Method getAsyncQueryManager

src/Interpreters/Context.cpp:1036–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1034}
1035
1036AsyncQueryManagerPtr Context::getAsyncQueryManager() const
1037{
1038 auto lock = getLock(); // checked
1039 if (!shared->async_query_manager)
1040 shared->async_query_manager = std::make_shared<AsyncQueryManager>(global_context);
1041 return shared->async_query_manager;
1042}
1043
1044void Context::enableNamedSessions()
1045{

Callers 2

runImplMethod · 0.80

Calls 1

getLockFunction · 0.85

Tested by

no test coverage detected