mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 03:52:15 +00:00
Use getContext
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
This commit is contained in:
parent
15dc86bd37
commit
cb6f99fe6f
@ -46,7 +46,7 @@ PipelineExecutor::PipelineExecutor(Processors & processors, QueryStatus * elem)
|
||||
}
|
||||
if (process_list_element)
|
||||
{
|
||||
auto settings = process_list_element->context.lock()->getSettings();
|
||||
auto settings = process_list_element->getContext()->getSettings();
|
||||
limits.max_execution_time = settings.max_execution_time;
|
||||
overflow_mode = settings.timeout_overflow_mode;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user