1
0
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:
Jakub Vrana
2012-08-23 22:21:53 -07:00
parent 700a78b377
commit 47e52b6761

View File

@@ -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