0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-26 02:18:53 +02:00

modules/console: Add cache info line to column summary.

This commit is contained in:
Jason Volk 2020-09-22 02:23:55 -07:00
parent 30f3473c6a
commit a08b409929

View file

@ -5434,7 +5434,7 @@ try
if(c) if(c)
{ {
out << std::endl; out << "\n--- files:" << std::endl;
_print_sst_info_header(out); _print_sst_info_header(out);
db::database::sst::info::vector vector{c}; db::database::sst::info::vector vector{c};
std::sort(begin(vector), end(vector), [] std::sort(begin(vector), end(vector), []
@ -5445,6 +5445,10 @@ try
for(const auto &info : vector) for(const auto &info : vector)
_print_sst_info(out, info); _print_sst_info(out, info);
out << std::setfill(' ');
out << "\n--- caches:" << std::endl;
console_cmd__db__cache(out, line);
} }
else else
{ {