Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Treat performance_schema as information_schema

  • Loading branch information...
commit 47e52b676195f855e3201997e6d448506021ff40 1 parent 700a78b
@vrana authored
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.
Something went wrong with that request. Please try again.