From 4660fdb0424ae78913583a6009dc092ca8bf379a Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 16 Aug 2012 19:45:20 +0000 Subject: [PATCH] dbms: development [#CONV-2944]. --- dbms/src/DataStreams/CollapsingSortedBlockInputStream.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbms/src/DataStreams/CollapsingSortedBlockInputStream.cpp b/dbms/src/DataStreams/CollapsingSortedBlockInputStream.cpp index d808b21c481..64caac0e7d5 100644 --- a/dbms/src/DataStreams/CollapsingSortedBlockInputStream.cpp +++ b/dbms/src/DataStreams/CollapsingSortedBlockInputStream.cpp @@ -64,11 +64,10 @@ Block CollapsingSortedBlockInputStream::readImpl() if (id != current_id) { - current_id = id; - /// Запишем данные для предыдущего визита. insertRows(merged_columns); + current_id = id; count_negative = 0; count_positive = 0; }