From 7c7f3b3775cf0591aaf0e7efdc7f1c500cc53e82 Mon Sep 17 00:00:00 2001 From: xufei Date: Mon, 8 Apr 2024 15:29:38 +0800 Subject: [PATCH] fix build Signed-off-by: xufei --- dbms/src/Interpreters/Aggregator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Interpreters/Aggregator.cpp b/dbms/src/Interpreters/Aggregator.cpp index 6d5d24ebda9..5571d0fdcfd 100644 --- a/dbms/src/Interpreters/Aggregator.cpp +++ b/dbms/src/Interpreters/Aggregator.cpp @@ -1332,7 +1332,7 @@ inline void Aggregator::insertAggregatesIntoColumns( for (size_t destroy_i = 0; destroy_i < params.aggregates_size; ++destroy_i) { /// If ownership was not transferred to ColumnAggregateFunction. - if (destroy_i >= insert_i || !aggregate_functions[destroy_i]->isState())) + if (destroy_i >= insert_i || !aggregate_functions[destroy_i]->isState()) aggregate_functions[destroy_i]->destroy(mapped + offsets_of_aggregate_states[destroy_i]); }