mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Addition [#METR-21408].
This commit is contained in:
parent
7adfb230ff
commit
77e520e993
@ -124,18 +124,18 @@ protected:
|
||||
/// Вычисления, которые могут выполняться в отдельном потоке
|
||||
void calculate(MemoryTracker * memory_tracker)
|
||||
{
|
||||
if (first)
|
||||
{
|
||||
first = false;
|
||||
setThreadName("AsyncBlockInput");
|
||||
current_memory_tracker = memory_tracker;
|
||||
children.back()->readPrefix();
|
||||
}
|
||||
|
||||
CurrentMetrics::Increment metric_increment{CurrentMetrics::QueryThread};
|
||||
|
||||
try
|
||||
{
|
||||
if (first)
|
||||
{
|
||||
first = false;
|
||||
setThreadName("AsyncBlockInput");
|
||||
current_memory_tracker = memory_tracker;
|
||||
children.back()->readPrefix();
|
||||
}
|
||||
|
||||
block = children.back()->read();
|
||||
}
|
||||
catch (...)
|
||||
|
Loading…
Reference in New Issue
Block a user