1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 15:47:00 +02:00

Provide size of all databases in the overview

This commit is contained in:
Jakub Vrana
2014-03-01 11:38:38 -08:00
parent a710c28d38
commit c369236333
8 changed files with 40 additions and 11 deletions

View File

@@ -37,7 +37,8 @@ if ($_GET["script"] == "db") {
} else { // connect
foreach (count_tables($adminer->databases()) as $db => $val) {
json_row("tables-" . js_escape($db), $val);
json_row("tables-$db", $val);
json_row("size-$db", db_size($db));
}
json_row("");
}