diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-03-16 16:28:52 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:03:00 +0400 |
commit | 9dfe7bf86dd1743dc3bf33a8c09937aca9db503a (patch) | |
tree | fec18db97f751592fe62bacd19faca4d96cab23f /sql/sp_head.h | |
parent | 84c55a5668db582aa92dd2ccf076fbb783894b12 (diff) | |
download | mariadb-git-9dfe7bf86dd1743dc3bf33a8c09937aca9db503a.tar.gz |
MDEV-10598 Variable declarations can go after cursor declarations
Based on a contributed patch from Jerome Brauge.
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index 8322a92636e..d8709feb084 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -573,6 +573,9 @@ public: void do_cont_backpatch(); + /// Add cpush instructions for all cursors declared in the current frame + bool sp_add_instr_cpush_for_cursors(THD *thd, sp_pcontext *pcontext); + char *name(uint *lenp = 0) const { if (lenp) |