mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Treat performance_schema as information_schema
This commit is contained in:
@@ -502,7 +502,8 @@ if (!defined("DRIVER")) {
|
|||||||
*/
|
*/
|
||||||
function information_schema($db) {
|
function information_schema($db) {
|
||||||
global $connection;
|
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
|
/** Get escaped error message
|
||||||
|
Reference in New Issue
Block a user