diff --git a/server_status.php b/server_status.php index f41d305a65..63ea0941ac 100644 --- a/server_status.php +++ b/server_status.php @@ -567,6 +567,9 @@ foreach ($server_status as $name => $value) { } } +if(PMA_DRIZZLE) + $used_queries = PMA_DBI_fetch_result('SELECT * FROM data_dictionary.global_statements', 0, 1); + // admin commands are not queries (e.g. they include COM_PING, which is excluded from $server_status['Questions']) unset($used_queries['Com_admin_commands']);