summaryrefslogtreecommitdiff
path: root/mysql-test/main/connect.test
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-01-24 16:14:12 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-01-24 16:14:12 +0200
commit947b6b849d907dc0793f076aec7e553869db744f (patch)
tree50e7d87866ed50b8510336ce33d515ed32386754 /mysql-test/main/connect.test
parent55be043c13d45581a0cecbae85d1f7de2708d891 (diff)
parentfab531a150ec588f87e8a636d2ba1ecbfffdb08e (diff)
downloadmariadb-git-947b6b849d907dc0793f076aec7e553869db744f.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'mysql-test/main/connect.test')
-rw-r--r--mysql-test/main/connect.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/main/connect.test b/mysql-test/main/connect.test
index 3a38ad88462..560f29e840d 100644
--- a/mysql-test/main/connect.test
+++ b/mysql-test/main/connect.test
@@ -66,8 +66,13 @@ connect (fail_con,localhost,test,zorro,test2);
connect (fail_con,localhost,test,zorro,);
# check if old password version also works
+select user,host,password,plugin,authentication_string from mysql.user where user='test';
update mysql.user set password=old_password("gambling2") where user=_binary"test";
flush privileges;
+show grants for test@localhost;
+update mysql.user set plugin='mysql_old_password' where user='test';
+flush privileges;
+show grants for test@localhost;
connect (con10,localhost,test,gambling2,);
connect (con5,localhost,test,gambling2,mysql);