1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Support computing DB infos

Signed-off-by: Takashi SHIRAI <shirai@nintendo.co.jp>
This commit is contained in:
Takashi SHIRAI
2019-03-26 12:59:26 +09:00
committed by Jakub Vrana
parent 91da14b15c
commit fb38ae2ffd
2 changed files with 7 additions and 1 deletions

View File

@@ -200,7 +200,12 @@ ORDER BY 1"
}
function count_tables($databases) {
return array();
global $connection;
$return = array();
foreach ($databases as $db) {
$return[$db] = $connection->result("SELECT COUNT(*) FROM all_tables WHERE tablespace_name = " . q($db));
}
return $return;
}
function table_status($name = "") {