From 439bbd98610983087cdcd324ba9c7cbc9890fef2 Mon Sep 17 00:00:00 2001 From: alesapin Date: Tue, 20 Oct 2020 18:30:46 +0300 Subject: [PATCH] Blind performance fix --- src/Storages/MergeTree/SimpleMergeSelector.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Storages/MergeTree/SimpleMergeSelector.cpp b/src/Storages/MergeTree/SimpleMergeSelector.cpp index cbb24d1494e..65d9aaecdab 100644 --- a/src/Storages/MergeTree/SimpleMergeSelector.cpp +++ b/src/Storages/MergeTree/SimpleMergeSelector.cpp @@ -90,6 +90,9 @@ double mapPiecewiseLinearToUnit(double value, double min, double max) /** Is allowed to merge parts in range with specific properties. */ +#if defined(__clang__) + ALWAYS_INLINE +#endif bool allow( double sum_size, double max_size,