mirror of
https://github.com/MariaDB/server.git
synced 2026-05-08 08:04:29 +02:00
Initialize lex->mqh structure. Fixes valgrind warnings.
This commit is contained in:
parent
0b7895b9b1
commit
c0d168e65d
1 changed files with 1 additions and 0 deletions
|
|
@ -5197,6 +5197,7 @@ bool sp_grant_privileges(THD *thd, const char *sp_db, const char *sp_name)
|
|||
DBUG_RETURN(TRUE);
|
||||
|
||||
thd->lex->ssl_type= SSL_TYPE_NOT_SPECIFIED;
|
||||
bzero((char*) &thd->lex->mqh, sizeof(thd->lex->mqh));
|
||||
|
||||
result= mysql_procedure_grant(thd, tables, user_list,
|
||||
DEFAULT_CREATE_PROC_ACLS, 0, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue