summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorunknown <gkodinov@mysql.com>2006-05-26 11:51:11 +0300
committerunknown <gkodinov@mysql.com>2006-05-26 11:51:11 +0300
commit232a7e7c9f6e78e9cf2268b9bd635ac452cc9946 (patch)
tree2d7b7b5883cd12850e59765a033e5443724481b2 /sql/sql_acl.cc
parent779b09b71ebaddcfc686f8f9681d79f688d0bffd (diff)
parent419ae6cbf8ce04430673174e4a0063eda4e90254 (diff)
downloadmariadb-git-232a7e7c9f6e78e9cf2268b9bd635ac452cc9946.tar.gz
Merge mysql.com:/home/kgeorge/mysql/5.0/clean
into mysql.com:/home/kgeorge/mysql/5.0/B14875
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 02b2f88676f..197c703ece3 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -959,6 +959,8 @@ bool acl_getroot_no_password(Security_context *sctx, char *user, char *host,
sctx->master_access= 0;
sctx->db_access= 0;
+ sctx->priv_user= (char *) "";
+ *sctx->priv_host= 0;
/*
Find acl entry in user database.