Non significant modifications [#CLICKHOUSE-3].

This commit is contained in:
Alexey Milovidov 2017-06-05 23:43:23 +03:00
parent 6d77c54e12
commit 153693cd4c
2 changed files with 6 additions and 5 deletions

View File

@ -305,12 +305,13 @@ size_t MergeTreeDataPart::getColumnUncompressedSize(const String & name) const
/** Returns the name of a column with minimum compressed size (as returned by getColumnSize()).
* If no checksums are present returns the name of the first physically existing column. */
* If no checksums are present returns the name of the first physically existing column.
*/
String MergeTreeDataPart::getColumnNameWithMinumumCompressedSize() const
{
const auto & columns = storage.getColumnsList();
const std::string * minimum_size_column = nullptr;
auto minimum_size = std::numeric_limits<size_t>::max();
size_t minimum_size = std::numeric_limits<size_t>::max();
for (const auto & column : columns)
{

View File

@ -433,9 +433,9 @@ void MergeTreeReader::addStream(const String & name, const IDataType & type, con
void MergeTreeReader::readData(
const String & name, const IDataType & type, IColumn & column,
size_t from_mark, size_t max_rows_to_read,
size_t level, bool read_offsets)
const String & name, const IDataType & type, IColumn & column,
size_t from_mark, size_t max_rows_to_read,
size_t level, bool read_offsets)
{
if (type.isNullable())
{