mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Update Block.cpp
This commit is contained in:
parent
d8e9e8fa99
commit
d9761b6506
@ -608,7 +608,7 @@ void Block::unshareColumns()
|
||||
|
||||
void Block::updateHash(SipHash & hash) const
|
||||
{
|
||||
for (size_t row_no = 0; row_no < rows(); ++row_no)
|
||||
for (size_t row_no = 0, num_rows = rows(); row_no < num_rows; ++row_no)
|
||||
{
|
||||
for (auto & col : getColumns())
|
||||
col.column->updateHashWithValue(row_no, hash);
|
||||
|
Loading…
Reference in New Issue
Block a user