Support computing DB infos
Signed-off-by: Takashi SHIRAI <shirai@nintendo.co.jp>
This commit is contained in:
parent
91da14b15c
commit
fb38ae2ffd
|
@ -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 = "") {
|
||||
|
|
|
@ -10,6 +10,7 @@ PostgreSQL: Avoid exporting empty sequence last value (bug #768)
|
|||
PostgreSQL: Do not show triggers from other schemas (PR #412)
|
||||
PostgreSQL: Fix multi-parameter functions in default values (bug #736)
|
||||
PostgreSQL PDO: Do not select NULL function for false values in edit
|
||||
Oracle: Count tables
|
||||
SimpleDB, Firebird, ClickHouse: Move to plugin
|
||||
|
||||
Adminer 4.7.9 (released 2021-02-07):
|
||||
|
|
Loading…
Reference in a new issue