MySQL 8.0.40
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Privilege Struct Reference

This class is used for representing both static and dynamic privileges on global as well as table and column level. More...

#include <parse_tree_nodes.h>

Inheritance diagram for Privilege:
[legend]

Public Types

enum  privilege_type { STATIC , DYNAMIC }
 

Public Member Functions

 Privilege (privilege_type type, const Mem_root_array< LEX_CSTRING > *columns)
 

Public Attributes

privilege_type type
 
const Mem_root_array< LEX_CSTRING > * columns
 

Detailed Description

This class is used for representing both static and dynamic privileges on global as well as table and column level.

Member Enumeration Documentation

◆ privilege_type

Enumerator
STATIC 
DYNAMIC 

Constructor & Destructor Documentation

◆ Privilege()

Privilege::Privilege ( privilege_type  type,
const Mem_root_array< LEX_CSTRING > *  columns 
)
inlineexplicit

Member Data Documentation

◆ columns

const Mem_root_array<LEX_CSTRING>* Privilege::columns

◆ type

privilege_type Privilege::type

The documentation for this struct was generated from the following file: