diff --git a/src/Processors/Executors/PipelineExecutor.cpp b/src/Processors/Executors/PipelineExecutor.cpp index 59f37115333..5825a8c90d6 100644 --- a/src/Processors/Executors/PipelineExecutor.cpp +++ b/src/Processors/Executors/PipelineExecutor.cpp @@ -549,10 +549,10 @@ void PipelineExecutor::executeSingleThread(size_t thread_num, size_t num_threads auto & context = executor_contexts[thread_num]; LOG_TRACE(log, std::fixed << std::setprecision(3) << "Thread finished." - << " Total time: " << (context.total_time_ns / 1e9) << " sec." - << " Execution time: " << (context.execution_time_ns / 1e9) << " sec." - << " Processing time: " << (context.processing_time_ns / 1e9) << " sec." - << " Wait time: " << (context.wait_time_ns / 1e9) << " sec."); + << " Total time: " << (context->total_time_ns / 1e9) << " sec." + << " Execution time: " << (context->execution_time_ns / 1e9) << " sec." + << " Processing time: " << (context->processing_time_ns / 1e9) << " sec." + << " Wait time: " << (context->wait_time_ns / 1e9) << " sec."); #endif }