mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
dbms: fixed error in prev. revision [#METR-2944].
This commit is contained in:
parent
1889600e39
commit
7cf850f194
@ -43,8 +43,8 @@ public:
|
||||
|
||||
void addImpl(AggregateDataPtr place, const IColumn & columns_arg, const IColumn & column_max, size_t row_num) const
|
||||
{
|
||||
if (this->data(place).value.changeIfBetter(columns_arg, row_num))
|
||||
this->data(place).result.change(column_max, row_num);
|
||||
if (this->data(place).value.changeIfBetter(columns_max, row_num))
|
||||
this->data(place).result.change(columns_arg, row_num);
|
||||
}
|
||||
|
||||
void merge(AggregateDataPtr place, ConstAggregateDataPtr rhs) const override
|
||||
|
Loading…
Reference in New Issue
Block a user