Fix merged file

This commit is contained in:
Piotr Przybylski 2011-07-20 18:54:59 +02:00
parent 6ab10cdf83
commit 392d463a88

View File

@ -82,10 +82,11 @@ if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
WHERE variable_value > 0";
$queries = PMA_DBI_fetch_result($sql, 0, 1);
} else {
$queries = PMA_DBI_fetch_result(
"SHOW GLOBAL STATUS
WHERE (Variable_name LIKE 'Com_%' OR Variable_name = 'Questions')
AND Value > 0'", 0, 1);
$queries = PMA_DBI_fetch_result(
"SHOW GLOBAL STATUS
WHERE (Variable_name LIKE 'Com_%' OR Variable_name = 'Questions')
AND Value > 0'", 0, 1);
}
cleanDeprecated($queries);
// admin commands are not queries
unset($queries['Com_admin_commands']);