summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 6a17bc189c3..82f8e88d889 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -1815,7 +1815,7 @@ sp_instr_error::print(String *str)
void
sp_change_security_context(THD *thd, sp_head *sp, st_sp_security_context *ctxp)
{
- ctxp->changed= (sp->m_chistics->suid != IS_NOT_SUID &&
+ ctxp->changed= (sp->m_chistics->suid != SP_IS_NOT_SUID &&
(strcmp(sp->m_definer_user.str, thd->priv_user) ||
strcmp(sp->m_definer_host.str, thd->priv_host)));