MySQL 8.4.3
Source Code Documentation
ACL_internal_schema_registry Class Reference

A registry for per internal schema ACL. More...

#include <auth_common.h>

Static Public Member Functions

static void register_schema (const LEX_CSTRING &name, const ACL_internal_schema_access *access)
 Add an internal schema to the registry. More...
 
static const ACL_internal_schema_accesslookup (const char *name)
 Search per internal schema ACL by name. More...
 

Detailed Description

A registry for per internal schema ACL.

An 'internal schema' is a database schema maintained by the server implementation, such as 'performance_schema' and 'INFORMATION_SCHEMA'.

Member Function Documentation

◆ lookup()

const ACL_internal_schema_access * ACL_internal_schema_registry::lookup ( const char *  name)
static

Search per internal schema ACL by name.

Parameters
namea schema name
Returns
per schema rules, or NULL

◆ register_schema()

void ACL_internal_schema_registry::register_schema ( const LEX_CSTRING name,
const ACL_internal_schema_access access 
)
static

Add an internal schema to the registry.

Parameters
namethe schema name
accessthe schema ACL specific rules

The documentation for this class was generated from the following files: