mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 13:10:48 +00:00
Fix another one test.
This commit is contained in:
parent
12a4c74af0
commit
0308f14bea
@ -305,12 +305,12 @@ CancellationCode QueryStatus::cancelQuery(bool)
|
||||
if (is_killed.load())
|
||||
return CancellationCode::CancelSent;
|
||||
|
||||
is_killed.store(true);
|
||||
|
||||
std::lock_guard lock(executors_mutex);
|
||||
for (auto * e : executors)
|
||||
e->cancel();
|
||||
|
||||
is_killed.store(true);
|
||||
|
||||
return CancellationCode::CancelSent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user