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) { 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