mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 17:50:47 +00:00
dbms: fixed useless copy (typo) [#CONV-2944].
This commit is contained in:
parent
e3a03bf878
commit
364b6b311a
@ -48,7 +48,7 @@ void PrettyBlockOutputStream::calculateWidths(Block & block, Widths_t & max_widt
|
||||
|
||||
if (const ColumnUInt64 * col = dynamic_cast<const ColumnUInt64 *>(&*column.column))
|
||||
{
|
||||
const ColumnUInt64::Container_t res = col->getData();
|
||||
const ColumnUInt64::Container_t & res = col->getData();
|
||||
for (size_t j = 0; j < rows; ++j)
|
||||
if (res[j] > max_widths[i])
|
||||
max_widths[i] = res[j];
|
||||
|
Loading…
Reference in New Issue
Block a user