mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Update QueryProfiler.cpp
This commit is contained in:
parent
9602e67050
commit
056aba49ff
@ -142,7 +142,7 @@ QueryProfilerBase<ProfilerImpl>::QueryProfilerBase(const Int32 thread_id, const
|
|||||||
#endif
|
#endif
|
||||||
if (timer_create(clock_type, &sev, &timer_id))
|
if (timer_create(clock_type, &sev, &timer_id))
|
||||||
{
|
{
|
||||||
/// In Google Cloud Runner, the function "timer_create" is implemented incorrectly as of 2020-01-25.
|
/// In Google Cloud Run, the function "timer_create" is implemented incorrectly as of 2020-01-25.
|
||||||
/// https://mybranch.dev/posts/clickhouse-on-cloud-run/
|
/// https://mybranch.dev/posts/clickhouse-on-cloud-run/
|
||||||
if (errno == 0)
|
if (errno == 0)
|
||||||
throw Exception("Failed to create thread timer. The function 'timer_create' returned non-zero but didn't set errno. This is bug in your OS.",
|
throw Exception("Failed to create thread timer. The function 'timer_create' returned non-zero but didn't set errno. This is bug in your OS.",
|
||||||
|
Loading…
Reference in New Issue
Block a user