diff --git a/ChangeLog b/ChangeLog index cd22a831b..61968d0b4 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,11 @@ phpMyAdmin - Changelog $Id$ $Source$ +2003-07-17 Marc Delisle + * server_status.php3: the percentages of Query types did not add up + to 100, because the number of connections is included in the total + number of queries, thanks to jht001 ( Jams H Thompson ) + 2003-07-17 Alexander M. Turek * tbl_change.php3, libraries/common.lib.php3: Fixed a MySQL 4.1 bug that appeared when inserting values into ENUM or SET fields. diff --git a/server_status.php3 b/server_status.php3 index c35e6a848..8249bed34 100644 --- a/server_status.php3 +++ b/server_status.php3 @@ -180,12 +180,16 @@ unset($tmp_array); $useBgcolorOne = TRUE; $countRows = 0; while (list($name, $value) = each($queryStats)) { + +// For the percentage column, use Questions - Connections, because +// the number of connections is not an item of the Query types +// but is included in Questions. Then the total of the percentages is 100. ?>          -   %  +   %