1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-12314 Implicit cursor FOR LOOP for cursors with parameters

This commit is contained in:
Alexander Barkov
2017-03-22 18:10:33 +04:00
parent e0451941cc
commit ec19e48021
7 changed files with 167 additions and 16 deletions

View File

@@ -3376,7 +3376,9 @@ public:
sp_variable *sp_add_for_loop_cursor_variable(THD *thd,
const LEX_STRING name,
const class sp_pcursor *cur,
uint coffset);
uint coffset,
sp_assignment_lex *param_lex,
Item_args *parameters);
bool sp_for_loop_cursor_condition_test(THD *thd, const Lex_for_loop_st &loop);
bool sp_for_loop_cursor_finalize(THD *thd, const Lex_for_loop_st &);