mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Fix data race in PipelineExecutor.
This commit is contained in:
parent
18a7b0d7a2
commit
73948ab747
@ -510,6 +510,9 @@ void TCPHandler::processOrdinaryQueryWithProcessors(size_t num_threads)
|
||||
}
|
||||
});
|
||||
|
||||
/// Wait in case of exception.
|
||||
SCOPE_EXIT(pool.wait());
|
||||
|
||||
while (true)
|
||||
{
|
||||
Block block;
|
||||
|
Loading…
Reference in New Issue
Block a user