mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Treat performance_schema as information_schema
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user