mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Removed useless code [#CLICKHOUSE-31].
This commit is contained in:
parent
3ddea6b260
commit
74bd90701e
@ -2357,7 +2357,7 @@ bool FunctionRange::executeInternal(Block & block, const IColumn * const arg, co
|
||||
IColumn::Offset_t offset{};
|
||||
for (const auto i : ext::range(0, in->size()))
|
||||
{
|
||||
std::copy(boost::counting_iterator(T{}), boost::counting_iterator(in_data[i]), &out_data[offset]);
|
||||
std::copy(boost::counting_iterator<T>(), boost::counting_iterator<T>(in_data[i]), &out_data[offset]);
|
||||
offset += in_data[i];
|
||||
out_offsets[i] = offset;
|
||||
}
|
||||
@ -2393,7 +2393,7 @@ bool FunctionRange::executeInternal(Block & block, const IColumn * const arg, co
|
||||
IColumn::Offset_t offset{};
|
||||
for (const auto i : ext::range(0, in->size()))
|
||||
{
|
||||
std::copy(boost::counting_iterator(T{}), boost::counting_iterator(in_data), &out_data[offset]);
|
||||
std::copy(boost::counting_iterator<T>(), boost::counting_iterator<T>(in_data), &out_data[offset]);
|
||||
offset += in_data;
|
||||
out_offsets[i] = offset;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user