MySQL 8.4.2
Source Code Documentation
PT_set_role Class Reference

#include <parse_tree_nodes.h>

Inheritance diagram for PT_set_role:
[legend]

Public Member Functions

 PT_set_role (const POS &pos, role_enum role_type, const List< LEX_USER > *opt_except_roles=nullptr)
 
 PT_set_role (const POS &pos, const List< LEX_USER > *roles)
 
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

Sql_cmd_set_role sql_cmd
 

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_set_role() [1/2]

PT_set_role::PT_set_role ( const POS pos,
role_enum  role_type,
const List< LEX_USER > *  opt_except_roles = nullptr 
)
inlineexplicit

◆ PT_set_role() [2/2]

PT_set_role::PT_set_role ( const POS pos,
const List< LEX_USER > *  roles 
)
inlineexplicit

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_set_role::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ sql_cmd

Sql_cmd_set_role PT_set_role::sql_cmd
private

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