summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-08-15 16:25:27 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:42 +0400
commit81ba971d0334dee5dce880ea848300cc5ed45ccb (patch)
tree6b14af9f914e55609960479b7501d41bb2220770 /sql/sp_head.h
parent0040b0f38060724e95137aa5564feca3da11bc02 (diff)
downloadmariadb-git-81ba971d0334dee5dce880ea848300cc5ed45ccb.tar.gz
MDEV-10411 Providing compatibility for basic PL/SQL constructs
- Part 9: EXCEPTION handlers The top-most stored routine blocks now support EXCEPTION clause in its correct place: AS [ declarations ] BEGIN statements [ EXCEPTION exceptions ] END Inner block will be done in a separate commit. - Part 14: IN OUT instead of INOUT (in SP parameter declarations)
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index e5bc3ca9263..eb2f47ae2d8 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -337,6 +337,15 @@ public:
int
add_instr(sp_instr *instr);
+ bool
+ add_instr_jump(THD *thd, sp_pcontext *spcont);
+
+ bool
+ add_instr_jump(THD *thd, sp_pcontext *spcont, uint dest);
+
+ bool
+ add_instr_jump_forward_with_backpatch(THD *thd, sp_pcontext *spcont);
+
/**
Returns true if any substatement in the routine directly
(not through another routine) modifies data/changes table.