dbms: fixed error [#METR-18564].

This commit is contained in:
Alexey Milovidov 2015-10-30 05:34:24 +03:00
parent e7aabfe43c
commit b13c6cdd1e

View File

@ -202,6 +202,11 @@ private:
UInt8 threshold = 5; /// Значение по-умолчанию, если параметр не указан.
public:
size_t sizeOfData() const
{
return sizeof(AggregateFunctionUniqUpToData<UInt64>) + sizeof(UInt64) * threshold;
}
String getName() const { return "uniqUpTo"; }
DataTypePtr getReturnType() const