MySQL 8.0.39
Source Code Documentation
PT_show_create_database Class Referencefinal

Parse tree node for SHOW CREATE DATABASE statement. More...

#include <parse_tree_nodes.h>

Inheritance diagram for PT_show_create_database:
[legend]

Public Member Functions

 PT_show_create_database (const POS &pos, bool if_not_exists, const LEX_STRING &name)
 
Sql_cmdmake_cmd (THD *thd) override
 

Private Attributes

const bool m_if_not_exists
 
const LEX_STRING m_name
 
Sql_cmd_show_create_database m_sql_cmd
 

Additional Inherited Members

- Protected Member Functions inherited from PT_show_base
 PT_show_base (const POS &pos, enum_sql_command sql_command)
 
- Protected Member Functions inherited from Parse_tree_root
virtual ~Parse_tree_root ()=default
 
 Parse_tree_root ()=default
 
- Protected Attributes inherited from PT_show_base
POS m_pos
 Textual location of a token just parsed. More...
 
enum_sql_command m_sql_command
 SQL command. More...
 

Detailed Description

Parse tree node for SHOW CREATE DATABASE statement.

Constructor & Destructor Documentation

◆ PT_show_create_database()

PT_show_create_database::PT_show_create_database ( const POS pos,
bool  if_not_exists,
const LEX_STRING name 
)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_show_create_database::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ m_if_not_exists

const bool PT_show_create_database::m_if_not_exists
private

◆ m_name

const LEX_STRING PT_show_create_database::m_name
private

◆ m_sql_cmd

Sql_cmd_show_create_database PT_show_create_database::m_sql_cmd
private

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