dbms: tiny additions [#METR-14604].

This commit is contained in:
Alexey Milovidov 2015-01-17 00:01:41 +03:00
parent 593f9bc191
commit f61fe3fba5
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Block MergingAggregatedBlockInputStream::readImpl()
if (isCancelled() || it == blocks.end())
return res;
res = *it;
res = std::move(*it);
++it;
return res;

View File

@ -1071,7 +1071,7 @@ BlocksList Aggregator::convertToBlocks(AggregatedDataVariants & data_variants, b
double elapsed_seconds = watch.elapsedSeconds();
LOG_TRACE(log, std::fixed << std::setprecision(3)
<< "Converted aggregated data to block. "
<< "Converted aggregated data to blocks. "
<< rows << " rows, " << bytes / 1048576.0 << " MiB"
<< " in " << elapsed_seconds << " sec."
<< " (" << rows / elapsed_seconds << " rows/sec., " << bytes / elapsed_seconds / 1048576.0 << " MiB/sec.)");