mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
dbms: addition to prev. revision [#METR-2944].
This commit is contained in:
parent
7cf850f194
commit
c9ea87ec11
@ -41,10 +41,10 @@ public:
|
||||
type_val = arguments[1];
|
||||
}
|
||||
|
||||
void addImpl(AggregateDataPtr place, const IColumn & columns_arg, const IColumn & column_max, size_t row_num) const
|
||||
void addImpl(AggregateDataPtr place, const IColumn & column_arg, const IColumn & column_max, size_t row_num) const
|
||||
{
|
||||
if (this->data(place).value.changeIfBetter(columns_max, row_num))
|
||||
this->data(place).result.change(columns_arg, row_num);
|
||||
if (this->data(place).value.changeIfBetter(column_max, row_num))
|
||||
this->data(place).result.change(column_arg, row_num);
|
||||
}
|
||||
|
||||
void merge(AggregateDataPtr place, ConstAggregateDataPtr rhs) const override
|
||||
|
Loading…
Reference in New Issue
Block a user