summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2005-01-10 18:46:31 +0100
committerguilhem@mysql.com <>2005-01-10 18:46:31 +0100
commit09b45d80d56732d0cb656974aa7045b6c692bdf5 (patch)
tree583af58b3712d7825e74eff69c3875c36655bcc6 /sql
parentb5a44aebbd8e277643c44241068a215fe4756cfa (diff)
parentc268628163afe300ac03c1148f63c22c054ec999 (diff)
downloadmariadb-git-09b45d80d56732d0cb656974aa7045b6c692bdf5.tar.gz
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/mysql_src/mysql-5.0-clean
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_acl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index b607f8a7822..14a66d2b10f 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -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);