aboutsummaryrefslogtreecommitdiff
path: root/databases/clickhouse/files/patch-src_Interpreters_AsynchronousMetrics.cpp
blob: 209e04c8e01712c9e94652f24452a3adc2ce42cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/Interpreters/AsynchronousMetrics.cpp.orig	2021-03-19 11:39:14 UTC
+++ src/Interpreters/AsynchronousMetrics.cpp
@@ -196,7 +196,7 @@ void AsynchronousMetrics::update()
     new_values["Uptime"] = global_context.getUptimeSeconds();
 
     /// Process memory usage according to OS
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_FREEBSD)
     {
         MemoryStatisticsOS::Data data = memory_stat.get();