From e8d23cfa264e70bd8d6b4d6a4ef5368ca808b43e Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Sun, 1 Aug 2004 17:21:55 +0200 Subject: [PATCH] followup to SET PASSWORD fix --- sql/sql_acl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index f316bca4876..44fd5e9e94f 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -1149,7 +1149,7 @@ bool check_change_password(THD *thd, const char *host, const char *user, return(1); } uint len=strlen(new_password); - if (len != SCRAMBLED_PASSWORD_CHAR_LENGTH && + if (len && len != SCRAMBLED_PASSWORD_CHAR_LENGTH && len != SCRAMBLED_PASSWORD_CHAR_LENGTH_323) { net_printf(thd, 0,