MySQL 8.3.0
Source Code Documentation
PT_grant_roles Class Referencefinal

#include <parse_tree_nodes.h>

Inheritance diagram for PT_grant_roles:
[legend]

Public Member Functions

 PT_grant_roles (const POS &pos, const Mem_root_array< PT_role_or_privilege * > *roles, const List< LEX_USER > *users, bool with_admin_option)
 
Sql_cmdmake_cmd (THD *thd) override
 
- Public Member Functions inherited from Parse_tree_root
virtual std::string get_printable_parse_tree (THD *thd)
 

Private Attributes

const Mem_root_array< PT_role_or_privilege * > * roles
 
const List< LEX_USER > * users
 
const bool with_admin_option
 

Additional Inherited Members

- Public Attributes inherited from Parse_tree_root
POS m_pos
 Textual location of a token just parsed. More...
 
- Protected Member Functions inherited from Parse_tree_root
 Parse_tree_root ()=default
 
 Parse_tree_root (const POS &pos)
 
virtual ~Parse_tree_root ()=default
 

Constructor & Destructor Documentation

◆ PT_grant_roles()

PT_grant_roles::PT_grant_roles ( const POS pos,
const Mem_root_array< PT_role_or_privilege * > *  roles,
const List< LEX_USER > *  users,
bool  with_admin_option 
)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_grant_roles::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ roles

const Mem_root_array<PT_role_or_privilege *>* PT_grant_roles::roles
private

◆ users

const List<LEX_USER>* PT_grant_roles::users
private

◆ with_admin_option

const bool PT_grant_roles::with_admin_option
private

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