From 47e52b676195f855e3201997e6d448506021ff40 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 23 Aug 2012 22:21:53 -0700 Subject: [PATCH] Treat performance_schema as information_schema --- adminer/drivers/mysql.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 425268ee..20a1558e 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -502,7 +502,8 @@ if (!defined("DRIVER")) { */ function information_schema($db) { global $connection; - return ($connection->server_info >= 5 && $db == "information_schema"); + return ($connection->server_info >= 5 && $db == "information_schema") + || ($connection->server_info >= 5.5 && $db == "performance_schema"); } /** Get escaped error message