Fix log tables.

This commit is contained in:
Nikolai Kochetov 2020-05-15 13:17:07 +03:00
parent 70ce0149b1
commit af0328bf30
2 changed files with 4 additions and 0 deletions

View File

@ -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));
}

View File

@ -107,6 +107,8 @@ void QueryThreadLogElement::appendToBlock(Block & block) const
columns[i++]->insertDefault();
columns[i++]->insertDefault();
}
block.setColumns(std::move(columns));
}
}