summaryrefslogtreecommitdiff
path: root/mysql-test/t/connect.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-07-30 22:05:08 +0200
committerunknown <serg@serg.mylan>2004-07-30 22:05:08 +0200
commit95da1ff0fcc75b5cacdfebb529611ebf62aeb08f (patch)
tree6acb782689f3413275490851b6010dbfd28713a3 /mysql-test/t/connect.test
parent5e3a68892a08a2ca4b77152475da4afda3212a79 (diff)
downloadmariadb-git-95da1ff0fcc75b5cacdfebb529611ebf62aeb08f.tar.gz
apply in SET PASSWORD same checks as in GRANT, to let only valid hashes through
Diffstat (limited to 'mysql-test/t/connect.test')
-rw-r--r--mysql-test/t/connect.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/connect.test b/mysql-test/t/connect.test
index 32c1479ae04..c1ecf176470 100644
--- a/mysql-test/t/connect.test
+++ b/mysql-test/t/connect.test
@@ -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);