MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ACL_internal_schema_registry Class Reference

#include <sql_acl.h>

Static Public Member Functions

static void register_schema (const LEX_STRING *name, const ACL_internal_schema_access *access)
static const
ACL_internal_schema_access
lookup (const char *name)

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'.

Definition at line 424 of file sql_acl.h.

Member Function Documentation

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

Definition at line 9259 of file sql_acl.cc.

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

Add an internal schema to the registry.

Parameters
namethe schema name
accessthe schema ACL specific rules

Definition at line 9243 of file sql_acl.cc.

Here is the caller graph for this function:


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