Treat performance_schema as information_schema
This commit is contained in:
parent
700a78b377
commit
47e52b6761
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue