summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <rafal@quant.(none)>2006-12-08 16:50:06 +0100
committerunknown <rafal@quant.(none)>2006-12-08 16:50:06 +0100
commit42b2cb86132291d7c69eff8fbcff71e2d4228794 (patch)
tree28b5d127cc6907d85f8145b6b8628585b23b376c /sql
parentdf2af6cdf0d45a64af4f0649934bb3483145f8a7 (diff)
parent6aa09b4c23d22d90107e6a5ae24462c7ab05fde5 (diff)
downloadmariadb-git-42b2cb86132291d7c69eff8fbcff71e2d4228794.tar.gz
Merge quant.(none):/ext/mysql/bkroot/mysql-5.0-rpl
into quant.(none):/ext/mysql/bk/mysql-5.0-bug24507 sql/sql_acl.cc: Auto merged
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 d91da405c36..7def737f9de 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));