mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
item_func.cc:
Fixed mistake in fix for bug#12812
This commit is contained in:
parent
e9c3396cd4
commit
b7c42a65d1
1 changed files with 1 additions and 1 deletions
|
@ -4901,7 +4901,7 @@ Item_func_sp::check_access(ulong want_access, bool report_error, st_sp_security_
|
|||
|
||||
sp_change_security_context(thd, m_sp, curr_ctx);
|
||||
ctx_switched= curr_ctx->changed;
|
||||
if (save_ctx.changed &&
|
||||
if (curr_ctx->changed &&
|
||||
check_routine_access(thd, want_access,
|
||||
m_sp->m_db.str, m_sp->m_name.str, 0, 0))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue