MySQL 9.0.0
Source Code Documentation
PT_drop_srs Class Referencefinal

Top-level node for the DROP SPATIAL REFERENCE SYSTEM statement. More...

#include <parse_tree_nodes.h>

Inheritance diagram for PT_drop_srs:
[legend]

Public Member Functions

 PT_drop_srs (const POS &pos, unsigned long long srid, bool if_exists)
 
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_drop_srs sql_cmd
 The SQL command object. More...
 
unsigned long long m_srid
 SRID of the SRS to drop. More...
 

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
 

Detailed Description

Top-level node for the DROP SPATIAL REFERENCE SYSTEM statement.

Constructor & Destructor Documentation

◆ PT_drop_srs()

PT_drop_srs::PT_drop_srs ( const POS pos,
unsigned long long  srid,
bool  if_exists 
)
inline

Member Function Documentation

◆ make_cmd()

Sql_cmd * PT_drop_srs::make_cmd ( THD thd)
overridevirtual

Implements Parse_tree_root.

Member Data Documentation

◆ m_srid

unsigned long long PT_drop_srs::m_srid
private

SRID of the SRS to drop.

The range is larger than that of gis::srid_t, so it must be verified to be less than the uint32 maximum value.

◆ sql_cmd

Sql_cmd_drop_srs PT_drop_srs::sql_cmd
private

The SQL command object.


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