summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorbar@mysql.com/bar.intranet.mysql.r18.ru <>2006-12-08 15:18:03 +0400
committerbar@mysql.com/bar.intranet.mysql.r18.ru <>2006-12-08 15:18:03 +0400
commit3df9fde7aa56ce3881c29ba7be3b1367206b2d0e (patch)
treed04dd2918a4dbcb24726e33b14405527a4b403c6 /sql
parent0d4b26fa71a841dfe83acc13ec09cd55cfa1a9b5 (diff)
parentdcde1be17d1467c582d75d13968e0b8ab4f44611 (diff)
downloadmariadb-git-3df9fde7aa56ce3881c29ba7be3b1367206b2d0e.tar.gz
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0-rpl
into mysql.com:/usr/home/bar/mysql-5.0.b24158
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_acl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 724cf88d373..be5591ce3d7 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -1498,7 +1498,7 @@ bool change_password(THD *thd, const char *host, const char *user,
{
query_length=
my_sprintf(buff,
- (buff,"SET PASSWORD FOR \"%-.120s\"@\"%-.120s\"=\"%-.120s\"",
+ (buff,"SET PASSWORD FOR '%-.120s'@'%-.120s'='%-.120s'",
acl_user->user ? acl_user->user : "",
acl_user->host.hostname ? acl_user->host.hostname : "",
new_password));