From 8362c11c8ad4eaf34c8f51ced971025b6bd8fc46 Mon Sep 17 00:00:00 2001 From: lgbo-ustc Date: Wed, 13 Mar 2024 17:39:40 +0800 Subject: [PATCH] fixed --- src/Interpreters/Aggregator.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Interpreters/Aggregator.cpp b/src/Interpreters/Aggregator.cpp index c2a6634c55d..817664e4898 100644 --- a/src/Interpreters/Aggregator.cpp +++ b/src/Interpreters/Aggregator.cpp @@ -1247,7 +1247,7 @@ void Aggregator::executeAggregateInstructions( bool has_only_one_value_since_last_reset, bool no_more_keys, bool all_keys_are_const, - bool use_compiled_functions) const + bool use_compiled_functions [[maybe_unused]]) const { #if USE_EMBEDDED_COMPILER if (use_compiled_functions) @@ -2513,7 +2513,8 @@ void NO_INLINE Aggregator::mergeDataNullKey( } template -void NO_INLINE Aggregator::mergeDataImpl(Table & table_dst, Table & table_src, Arena * arena, bool use_compiled_functions, bool prefetch) const +void NO_INLINE Aggregator::mergeDataImpl( + Table & table_dst, Table & table_src, Arena * arena, bool use_compiled_functions [[maybe_unused]], bool prefetch) const { if constexpr (Method::low_cardinality_optimization || Method::one_key_nullable_optimization) mergeDataNullKey(table_dst, table_src, arena);