mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 02:30:51 +00:00
Fix typo in ThreadStatus::query_profiler_enabled
This commit is contained in:
parent
51a0d6c2f3
commit
2840405c8a
@ -165,7 +165,7 @@ protected:
|
|||||||
std::function<void()> fatal_error_callback;
|
std::function<void()> fatal_error_callback;
|
||||||
|
|
||||||
/// It is used to avoid enabling the query profiler when you have multiple ThreadStatus in the same thread
|
/// It is used to avoid enabling the query profiler when you have multiple ThreadStatus in the same thread
|
||||||
bool query_profiled_enabled = true;
|
bool query_profiler_enabled = true;
|
||||||
|
|
||||||
/// Requires access to query_id.
|
/// Requires access to query_id.
|
||||||
friend class MemoryTrackerThreadSwitcher;
|
friend class MemoryTrackerThreadSwitcher;
|
||||||
@ -207,7 +207,7 @@ public:
|
|||||||
|
|
||||||
void disableProfiling()
|
void disableProfiling()
|
||||||
{
|
{
|
||||||
query_profiled_enabled = false;
|
query_profiler_enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Starts new query and create new thread group for it, current thread becomes master thread of the query
|
/// Starts new query and create new thread group for it, current thread becomes master thread of the query
|
||||||
|
@ -310,7 +310,7 @@ void ThreadStatus::resetPerformanceCountersLastUsage()
|
|||||||
|
|
||||||
void ThreadStatus::initQueryProfiler()
|
void ThreadStatus::initQueryProfiler()
|
||||||
{
|
{
|
||||||
if (!query_profiled_enabled)
|
if (!query_profiler_enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/// query profilers are useless without trace collector
|
/// query profilers are useless without trace collector
|
||||||
|
Loading…
Reference in New Issue
Block a user