mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-10411 Providing compatibility for basic PL/SQL constructs
Moving the code from *.yy to methods: LEX::sp_change_context() LEX::sp_leave_statement() LEX::sp_iterate_statement() to reuse the same code between LEAVE and ITERATE statements. EXIT statement will also reuse the same code.
This commit is contained in:
@@ -3151,6 +3151,10 @@ public:
|
||||
bool sp_block_with_exceptions_finalize_exceptions(THD *thd,
|
||||
uint executable_section_ip,
|
||||
uint exception_count);
|
||||
bool sp_change_context(THD *thd, const sp_pcontext *ctx, bool exclusive);
|
||||
bool sp_leave_statement(THD *thd, const LEX_STRING label_name);
|
||||
bool sp_iterate_statement(THD *thd, const LEX_STRING label_name);
|
||||
|
||||
// Check if "KEY IF NOT EXISTS name" used outside of ALTER context
|
||||
bool check_add_key(DDL_options_st ddl)
|
||||
{
|
||||
|
Reference in New Issue
Block a user