Files
ports/databases/clickhouse/files/patch-src_Interpreters_AsynchronousMetrics.cpp
Kirill Ponomarev 509cf82860 databases/clickhouse: update to 21.7.4.18
PR:		257474
Reported by:	maintainer
2021-07-28 16:01:28 +02:00

12 lines
422 B
C++

--- src/Interpreters/AsynchronousMetrics.cpp.orig 2021-07-17 10:04:30 UTC
+++ src/Interpreters/AsynchronousMetrics.cpp
@@ -207,7 +207,7 @@ void AsynchronousMetrics::update()
new_values["Uptime"] = getContext()->getUptimeSeconds();
/// Process memory usage according to OS
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
{
MemoryStatisticsOS::Data data = memory_stat.get();