diff --git a/db_stats.php3 b/db_stats.php3 index 51145a76f..b632e1e3a 100644 --- a/db_stats.php3 +++ b/db_stats.php3 @@ -90,6 +90,7 @@ header('Content-Type: text/html; charset=' . $charset); + @@ -98,6 +99,7 @@ header('Content-Type: text/html; charset=' . $charset); 1) { $selected_db = 0; + $tot_tables = 0; $big_tot_all = 0; $big_tot_idx = 0; $big_tot_data = 0; @@ -113,6 +115,7 @@ if ($num_dbs > 1) { } $tables = @mysql_list_tables($db); $num_tables = @mysql_numrows($tables); + $tot_tables += $num_tables; $common_url_query = 'lang=' . $lang . '&server=' . urlencode($server) . '&db=' . urlencode($db); @@ -138,6 +141,7 @@ if ($num_dbs > 1) { list($tot_all_format,$unit_all) = format_byte_down($tot_all,3,1); echo ""; + echo ""; echo ""; echo ""; echo ""; @@ -151,6 +155,7 @@ if ($num_dbs > 1) { list($tot_all_format,$unit_all) = format_byte_down($big_tot_all,3,1); echo ""; + echo ""; echo ""; echo ""; echo "";
" . urlencode($db) . " $num_tables $tot_data_format $unit_data $tot_idx_format $unit_idx $tot_all_format $unit_all
" . $strSum . " $tot_tables $tot_data_format $unit_data $tot_idx_format $unit_idx $tot_all_format $unit_all