24#ifndef SQL_CALL_INCLUDED
25#define SQL_CALL_INCLUDED
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:936
Definition: sql_call.h:36
mem_root_deque< Item * > * proc_args
Definition: sql_call.h:56
bool prepare_inner(THD *thd) override
Perform the command-specific parts of DML command preparation, to be called from prepare()
Definition: sql_call.cc:116
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_call.h:42
Sql_cmd_call(sp_name *proc_name_arg, mem_root_deque< Item * > *prog_args_arg)
Definition: sql_call.h:38
bool execute_inner(THD *thd) override
The inner parts of query optimization and execution.
Definition: sql_call.cc:185
bool check_privileges(THD *thd) override
Check privileges on a prepared statement, called at start of execution of the statement.
Definition: sql_call.cc:72
bool precheck(THD *thd) override
Perform a precheck of table privileges for the specific operation.
Definition: sql_call.cc:59
sp_name * proc_name
Definition: sql_call.h:55
bool is_data_change_stmt() const override
Definition: sql_call.h:44
Definition: sql_cmd_dml.h:35
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
A (partial) implementation of std::deque allocating its blocks on a MEM_ROOT.
Definition: mem_root_deque.h:111
Definition: sp_head.h:123
enum_sql_command
Definition: my_sqlcommand.h:46
@ SQLCOM_CALL
Definition: my_sqlcommand.h:138