MySQL 8.4.2
Source Code Documentation
|
Top-level node for the CREATE [OR REPLACE] SPATIAL REFERENCE SYSTEM statement. More...
#include <parse_tree_nodes.h>
Public Member Functions | |
PT_create_srs (const POS &pos, unsigned long long srid, const Sql_cmd_srs_attributes &attributes, bool or_replace, bool if_not_exists) | |
Sql_cmd * | make_cmd (THD *thd) override |
Public Member Functions inherited from Parse_tree_root | |
virtual std::string | get_printable_parse_tree (THD *thd) |
Private Member Functions | |
bool | contains_control_char (char *str, size_t length) |
Check if a UTF-8 string contains control characters. More... | |
Private Attributes | |
Sql_cmd_create_srs | sql_cmd |
The SQL command object. More... | |
bool | m_or_replace |
Whether OR REPLACE is specified. More... | |
bool | m_if_not_exists |
Whether IF NOT EXISTS is specified. More... | |
unsigned long long | m_srid |
SRID of the SRS to create. More... | |
const Sql_cmd_srs_attributes | m_attributes |
All attributes except SRID. 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 |
Top-level node for the CREATE [OR REPLACE] SPATIAL REFERENCE SYSTEM statement.
|
inline |
|
inlineprivate |
Check if a UTF-8 string contains control characters.
str | The string. |
length | Length of the string. |
false | The string contains no control characters. |
true | The string contains at least one control character. |
Implements Parse_tree_root.
|
private |
All attributes except SRID.
|
private |
Whether IF NOT EXISTS is specified.
|
private |
Whether OR REPLACE is specified.
|
private |
SRID of the SRS to create.
The range is larger than that of gis::srid_t, so it must be verified to be less than the uint32 maximum value.
|
private |
The SQL command object.