summaryrefslogtreecommitdiff
path: root/mysql-test/t/connect.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-11-23 20:30:56 +0100
committerSergei Golubchik <serg@mariadb.org>2014-12-04 10:41:53 +0100
commitf5722f5851bb4603040d5010aeeb98244cc2789f (patch)
tree31656aab4df27d339103cfaf8574bc6982a563bd /mysql-test/t/connect.test
parentc1204da1c72bb51c0b4904704b69411f7ce391e3 (diff)
downloadmariadb-git-f5722f5851bb4603040d5010aeeb98244cc2789f.tar.gz
cleanup: normalize LEX_USER to get rid of different representation of the same thing
username IDENTIFIED BY PASSWORD xxx username IDENTIFIED VIA mysql_native_password USING xxx etc also check for valid strlen(xxx)
Diffstat (limited to 'mysql-test/t/connect.test')
-rw-r--r--mysql-test/t/connect.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/connect.test b/mysql-test/t/connect.test
index fca588de8e8..c4a6fb73b10 100644
--- a/mysql-test/t/connect.test
+++ b/mysql-test/t/connect.test
@@ -397,8 +397,8 @@ connection default;
#
# cannot connect when password is set and plugin=mysql_native_password
#
-update mysql.user set password=authentication_string, authentication_string=''
- where user like 'mysqltest_up_';
+update mysql.user set plugin='mysql_native_password' where user = 'mysqltest_up1';
+update mysql.user set plugin='mysql_old_password' where user = 'mysqltest_up2';
select user, password, plugin, authentication_string from mysql.user
where user like 'mysqltest_up_';
flush privileges;