24#ifndef SQL_CMD_DCL_INCLUDED
25#define SQL_CMD_DCL_INCLUDED
This is a dummy class for old-style commands whose code is in sql_parse.cc, not in the execute() func...
Definition: sql_cmd_dcl.h:49
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_dcl.h:59
void set_sql_command_code(enum_sql_command scc)
Definition: sql_cmd_dcl.h:54
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_dcl.h:65
enum_sql_command my_sql_command
Definition: sql_cmd_dcl.h:51
A base class for DCL/ACL statements.
Definition: sql_cmd_dcl.h:32
enum enum_sql_cmd_type sql_cmd_type() const override
Definition: sql_cmd_dcl.h:34
Representation of an SQL command.
Definition: sql_cmd.h:83
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
enum_sql_command
Definition: my_sqlcommand.h:46
@ SQLCOM_END
Definition: my_sqlcommand.h:208
Representation of an SQL command.
enum_sql_cmd_type
What type of Sql_cmd we're dealing with (DML, DDL, ...).
Definition: sql_cmd.h:53
@ SQL_CMD_DCL
Definition: sql_cmd.h:57