Permalink
Browse files

Treat performance_schema as information_schema

  • Loading branch information...
1 parent 700a78b commit 47e52b676195f855e3201997e6d448506021ff40 @vrana committed Aug 24, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 adminer/drivers/mysql.inc.php
View
3 adminer/drivers/mysql.inc.php
@@ -502,7 +502,8 @@ function collations() {
*/
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

0 comments on commit 47e52b6

Please sign in to comment.