MySQL 8.4.2
Source Code Documentation
|
Representation of an SQL command. More...
Go to the source code of this file.
Classes | |
class | Sql_cmd |
Representation of an SQL command. More... | |
Enumerations | |
enum | enum_sql_cmd_type { SQL_CMD_UNDETERMINED = 0 , SQL_CMD_DDL = 1 , SQL_CMD_DML = 2 , SQL_CMD_DCL = 4 , SQL_CMD_OTHER = 8 } |
What type of Sql_cmd we're dealing with (DML, DDL, ...). More... | |
Representation of an SQL command.
enum enum_sql_cmd_type |
What type of Sql_cmd we're dealing with (DML, DDL, ...).
"Other" may be used for commands that are neither DML or DDL, such as shutdown.
Theoretically, a command can run through code paths of both DDL and DML (e.g. CREATE TABLE ... AS SELECT ...), but at this point, a command must identify as only one thing.
Enumerator | |
---|---|
SQL_CMD_UNDETERMINED | |
SQL_CMD_DDL | |
SQL_CMD_DML | |
SQL_CMD_DCL | |
SQL_CMD_OTHER |