mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge damien-katzs-computer.local:/Users/dkatz/mysql51
into damien-katzs-computer.local:/Users/dkatz/51_win
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