mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fix log tables.
This commit is contained in:
parent
70ce0149b1
commit
af0328bf30
@ -50,6 +50,8 @@ void MetricLogElement::appendToBlock(Block & block) const
|
||||
|
||||
for (size_t i = 0, end = CurrentMetrics::end(); i < end; ++i)
|
||||
columns[column_idx++]->insert(current_metrics[i]);
|
||||
|
||||
block.setColumns(std::move(columns));
|
||||
}
|
||||
|
||||
|
||||
|
@ -107,6 +107,8 @@ void QueryThreadLogElement::appendToBlock(Block & block) const
|
||||
columns[i++]->insertDefault();
|
||||
columns[i++]->insertDefault();
|
||||
}
|
||||
|
||||
block.setColumns(std::move(columns));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user