From 8fb2eacb666a67ada3163f69bec5463d9482fde3 Mon Sep 17 00:00:00 2001 From: Tyron Madlener Date: Tue, 26 Jul 2011 16:25:52 +0300 Subject: [PATCH] drizzle support --- server_status.php | 3 +++ 1 file changed, 3 insertions(+) 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']);