dbms: addition to prev. revision [#METR-2944].

This commit is contained in:
Alexey Milovidov 2015-11-21 22:52:31 +03:00
parent 7cf850f194
commit c9ea87ec11

View File

@ -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