mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Make thread_ids unique
This commit is contained in:
parent
ec5a32f534
commit
2f83d87905
@ -533,7 +533,7 @@ QueryStatusInfo QueryStatus::getInfo(bool get_thread_list, bool get_profile_even
|
|||||||
if (get_thread_list)
|
if (get_thread_list)
|
||||||
{
|
{
|
||||||
std::lock_guard lock(thread_group->mutex);
|
std::lock_guard lock(thread_group->mutex);
|
||||||
res.thread_ids = thread_group->thread_ids;
|
res.thread_ids.assign(thread_group->thread_ids.begin(), thread_group->thread_ids.end());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (get_profile_events)
|
if (get_profile_events)
|
||||||
|
Loading…
Reference in New Issue
Block a user