From 2852862c68b29e418795b4ea0a8b1293f5919b3e Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Fri, 30 Jul 2004 22:05:08 +0200 Subject: apply in SET PASSWORD same checks as in GRANT, to let only valid hashes through --- mysql-test/r/connect.result | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mysql-test/r/connect.result') diff --git a/mysql-test/r/connect.result b/mysql-test/r/connect.result index 10c5d6cc0b8..ae0def02399 100644 --- a/mysql-test/r/connect.result +++ b/mysql-test/r/connect.result @@ -40,6 +40,8 @@ show tables; Tables_in_test update mysql.user set password=old_password("gambling2") where user=_binary"test"; flush privileges; +set password='gambling3'; +ERROR HY000: Password hash should be a 41-digit hexadecimal number set password=old_password('gambling3'); show tables; Tables_in_mysql -- cgit v1.2.1 From ea687ba5da331017a3600bfd36b5d247efb6f757 Mon Sep 17 00:00:00 2001 From: "monty@mysql.com" <> Date: Thu, 26 Aug 2004 18:26:38 +0300 Subject: Portability fixes Fixed bug in end space handle for WHERE text_column="constant" --- mysql-test/r/connect.result | 1 + 1 file changed, 1 insertion(+) (limited to 'mysql-test/r/connect.result') diff --git a/mysql-test/r/connect.result b/mysql-test/r/connect.result index ae0def02399..edf30e7f6e4 100644 --- a/mysql-test/r/connect.result +++ b/mysql-test/r/connect.result @@ -40,6 +40,7 @@ show tables; Tables_in_test update mysql.user set password=old_password("gambling2") where user=_binary"test"; flush privileges; +set password=""; set password='gambling3'; ERROR HY000: Password hash should be a 41-digit hexadecimal number set password=old_password('gambling3'); -- cgit v1.2.1