mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
Remove outdated comment from ThreadStatusExt
Refs: https://github.com/ClickHouse/ClickHouse/pull/16121#discussion_r511500850 Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
20e467397d
commit
16b1d2bee4
@ -401,7 +401,6 @@ void ThreadStatus::detachQuery(bool exit_if_already_detached, bool thread_exits)
|
|||||||
performance_counters.setParent(&ProfileEvents::global_counters);
|
performance_counters.setParent(&ProfileEvents::global_counters);
|
||||||
memory_tracker.reset();
|
memory_tracker.reset();
|
||||||
|
|
||||||
/// Must reset pointer to thread_group's memory_tracker, because it will be destroyed two lines below (will reset to its parent).
|
|
||||||
memory_tracker.setParent(thread_group->memory_tracker.getParent());
|
memory_tracker.setParent(thread_group->memory_tracker.getParent());
|
||||||
|
|
||||||
query_id.clear();
|
query_id.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user