1
0
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:
dkatz@damien-katzs-computer.local
2007-06-14 20:48:11 -04:00
3 changed files with 30 additions and 1 deletions

View File

@ -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