mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
into maint1.mysql.com:/data/localhome/tsmith/bk/maint/51 sql/sql_parse.cc: Auto merged
This commit is contained in:
@@ -1569,7 +1569,7 @@ bool sp_process_definer(THD *thd)
|
||||
if (lex->definer == NULL)
|
||||
DBUG_RETURN(TRUE);
|
||||
|
||||
if (thd->slave_thread)
|
||||
if (thd->slave_thread && lex->sphead)
|
||||
lex->sphead->m_chistics->suid= SP_IS_NOT_SUID;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user