From fcf58fa4a15ea6b8b1d4cb21ac4785f12f19ad40 Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Wed, 20 May 2020 17:04:24 +0300 Subject: [PATCH] Fix clang build. --- src/Processors/Executors/PipelineExecutor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }