PMA\libraries\DatabaseInterface::isSystemSchema PHP Méthode

isSystemSchema() public méthode

Checks whether given schema is a system schema
public isSystemSchema ( string $schema_name, boolean $testForMysqlSchema = false ) : boolean
$schema_name string Name of schema (database) to test
$testForMysqlSchema boolean Whether 'mysql' schema should be treated the same as IS and DD
Résultat boolean
    public function isSystemSchema($schema_name, $testForMysqlSchema = false)
    {
        $schema_name = strtolower($schema_name);
        return $schema_name == 'information_schema' || $schema_name == 'performance_schema' || $schema_name == 'mysql' && $testForMysqlSchema || $schema_name == 'sys';
    }