MySQL 8.0.39
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 (unsigned long long srid, const Sql_cmd_srs_attributes &attributes, bool or_replace, bool if_not_exists) | |
Sql_cmd * | make_cmd (THD *thd) override |
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 | |
Protected Member Functions inherited from Parse_tree_root | |
virtual | ~Parse_tree_root ()=default |
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.