mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
Add sanity check into ThreadStatus::disableProfiling()
This commit is contained in:
parent
2840405c8a
commit
ee0258e128
@ -207,6 +207,7 @@ public:
|
||||
|
||||
void disableProfiling()
|
||||
{
|
||||
assert(!query_profiler_real && !query_profiler_cpu);
|
||||
query_profiler_enabled = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user