diff options
author | evgen@moonbone.local <> | 2005-09-20 21:35:57 +0400 |
---|---|---|
committer | evgen@moonbone.local <> | 2005-09-20 21:35:57 +0400 |
commit | b7c42a65d11448f88168388f73f94b5d7a69b638 (patch) | |
tree | 666525379dcf460aac1696476eb671c30a6fdbc4 /sql/item_func.cc | |
parent | e9c3396cd424de95126e937ed56bf57313c3fb3a (diff) | |
download | mariadb-git-b7c42a65d11448f88168388f73f94b5d7a69b638.tar.gz |
item_func.cc:
Fixed mistake in fix for bug#12812
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index 9503318e145..de221621ac0 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -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)) { |