mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 18:14:03 +00:00
dbms: style fix [#CONV-2944].
This commit is contained in:
parent
f38b00b36f
commit
69bd0e2557
@ -23,7 +23,7 @@ public:
|
||||
|
||||
/// Достаём столбец с датой.
|
||||
const ColumnUInt16::Container_t & dates =
|
||||
dynamic_cast<const ColumnUInt16 &>(*block.getByName(storage.date_column_name).column).getData();
|
||||
dynamic_cast<const ColumnUInt16 &>(*block.getByName(storage.date_column_name).column).getData();
|
||||
|
||||
/// Минимальная и максимальная дата.
|
||||
UInt16 min_date = std::numeric_limits<UInt16>::max();
|
||||
@ -130,9 +130,9 @@ private:
|
||||
? &block.getByName(storage.sort_descr[i].column_name)
|
||||
: &block.getByPosition(storage.sort_descr[i].column_number));
|
||||
|
||||
for (size_t i = 0; i < rows; i += storage.index_granularity)
|
||||
for (PrimaryColumns::const_iterator it = primary_columns.begin(); it != primary_columns.end(); ++it)
|
||||
(*it)->type->serializeBinary((*(*it)->column)[i], index);
|
||||
for (size_t i = 0; i < rows; i += storage.index_granularity)
|
||||
for (PrimaryColumns::const_iterator it = primary_columns.begin(); it != primary_columns.end(); ++it)
|
||||
(*it)->type->serializeBinary((*(*it)->column)[i], index);
|
||||
}
|
||||
|
||||
LOG_TRACE(storage.log, "Writing data.");
|
||||
|
Loading…
Reference in New Issue
Block a user