apply in SET PASSWORD same checks as in GRANT, to let only valid hashes through

This commit is contained in:
unknown 2004-07-30 22:05:08 +02:00
commit 95da1ff0fc
5 changed files with 26 additions and 10 deletions

View file

@ -48,6 +48,8 @@ flush privileges;
#connect (con1,localhost,test,gambling2,"");
#show tables;
connect (con1,localhost,test,gambling2,mysql);
--error 1105
set password='gambling3';
set password=old_password('gambling3');
show tables;
connect (con1,localhost,test,gambling3,test);