MCPcopy Create free account
hub / github.com/apache/impala / ~ScopedThreadContext

Method ~ScopedThreadContext

be/src/common/thread-debug-info.h:135–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133class ScopedThreadContext {
134 public:
135 ~ScopedThreadContext() {
136 thread_debug_info_->SetQueryId(ThreadDebugInfo::ZERO_THREAD_ID);
137 thread_debug_info_->SetInstanceId(ThreadDebugInfo::ZERO_THREAD_ID);
138 }
139 ScopedThreadContext(ThreadDebugInfo* thread_debug_info, const TUniqueId& query_id,
140 const TUniqueId& instance_id = ThreadDebugInfo::ZERO_THREAD_ID) {
141 thread_debug_info_ = thread_debug_info;

Callers

nothing calls this directly

Calls 2

SetQueryIdMethod · 0.80
SetInstanceIdMethod · 0.80

Tested by

no test coverage detected