Use comments that can be parsed by clang-tidy in ThreadStatus::initQueryProfiler()

This commit is contained in:
Azat Khuzhin 2021-11-25 21:06:57 +03:00
parent ee0258e128
commit f0628073bb

View File

@ -326,11 +326,11 @@ void ThreadStatus::initQueryProfiler()
{
if (settings.query_profiler_real_time_period_ns > 0)
query_profiler_real = std::make_unique<QueryProfilerReal>(thread_id,
/* period */ static_cast<UInt32>(settings.query_profiler_real_time_period_ns));
/* period= */ static_cast<UInt32>(settings.query_profiler_real_time_period_ns));
if (settings.query_profiler_cpu_time_period_ns > 0)
query_profiler_cpu = std::make_unique<QueryProfilerCPU>(thread_id,
/* period */ static_cast<UInt32>(settings.query_profiler_cpu_time_period_ns));
/* period= */ static_cast<UInt32>(settings.query_profiler_cpu_time_period_ns));
}
catch (...)
{