dbms: fixed another error [#METR-19278].

This commit is contained in:
Alexey Milovidov 2015-12-23 08:06:32 +03:00
parent d6ecae4588
commit c2d231dc75

View File

@ -2330,7 +2330,7 @@ void NO_INLINE Aggregator::destroyImpl(
{
for (auto elem : data)
{
char * data = Method::getAggregateData(elem.second);
AggregateDataPtr & data = Method::getAggregateData(elem.second);
/** Если исключение (обычно нехватка памяти, кидается MemoryTracker-ом) возникло
* после вставки ключа в хэш-таблицу, но до создания всех состояний агрегатных функций,