feat(bin): sort db stats rows (#3125)

This commit is contained in:
Alexey Shekhirin
2023-06-14 02:37:25 +04:00
committed by GitHub
parent 3637482f3a
commit fe40a92f06

View File

@ -117,7 +117,10 @@ impl Command {
]);
tool.db.view(|tx| {
for table in tables::TABLES.iter().map(|(_, name)| name) {
let mut tables =
tables::TABLES.iter().map(|(_, name)| name).collect::<Vec<_>>();
tables.sort();
for table in tables {
let table_db =
tx.inner.open_db(Some(table)).wrap_err("Could not open db.")?;