mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-13529 Add class Sql_cmd_call
This commit is contained in:
@ -167,4 +167,33 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
Sql_cmd_call represents the CALL statement.
|
||||
*/
|
||||
class Sql_cmd_call : public Sql_cmd
|
||||
{
|
||||
public:
|
||||
class sp_name *m_name;
|
||||
Sql_cmd_call(class sp_name *name)
|
||||
:m_name(name)
|
||||
{}
|
||||
|
||||
virtual ~Sql_cmd_call()
|
||||
{}
|
||||
|
||||
/**
|
||||
Execute a CALL statement at runtime.
|
||||
@param thd the current thread.
|
||||
@return false on success.
|
||||
*/
|
||||
bool execute(THD *thd);
|
||||
|
||||
virtual enum_sql_command sql_command_code() const
|
||||
{
|
||||
return SQLCOM_CALL;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
#endif // SQL_CMD_INCLUDED
|
||||
|
Reference in New Issue
Block a user