diff options
author | Monty <monty@mariadb.org> | 2018-01-21 20:16:22 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-01-21 20:22:14 +0200 |
commit | 6b7dcefdc83c4444ac8a4623b46810ff940528db (patch) | |
tree | 938e0c6302b43e22e04ff03991a9b16afe900c35 /BUILD | |
parent | f67b8273c03b4802cb97e68b0c1baf5de330a2bf (diff) | |
download | mariadb-git-6b7dcefdc83c4444ac8a4623b46810ff940528db.tar.gz |
Reset thd->lex->current_select for SP
current_select may point to data from old parser states
when calling a stored procedure with CALL
The failure happens in Item::Item when testing if we are
in having.
Fixed by explicitely reseting current_select in do_execute_sp()
and in sp_rcontext::create(). The later is also needed for
stored functions().
Diffstat (limited to 'BUILD')
0 files changed, 0 insertions, 0 deletions