MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / tryGetQueryContext

Method tryGetQueryContext

src/Common/ThreadStatus.cpp:195–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195ContextPtr ThreadStatus::tryGetQueryContext() const
196{
197 return query_context.lock();
198}
199
200ContextPtr ThreadStatus::getGlobalContext() const
201{

Callers 15

waitForMutationMethod · 0.45
onFaultMethod · 0.45
createMethod · 0.45
DateLUT.cppFile · 0.45
writeObjectMethod · 0.45
attachTableMethod · 0.45
transformPipelineMethod · 0.45
tryGetMethod · 0.45

Calls 1

lockMethod · 0.45

Tested by

no test coverage detected