diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-12-20 19:19:24 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-12-20 19:19:24 +0100 |
commit | 6c958d6e80f681c207f4298b754c8b18170d3224 (patch) | |
tree | 96b8f5ca4d1a282310ba916b698a2f9db6870e45 /mysql-test/r/connect.result | |
parent | 970e67b5e3c459d0a6b8a0e4ce4a3bf602362fba (diff) | |
download | mariadb-git-6c958d6e80f681c207f4298b754c8b18170d3224.tar.gz |
bug#683112 Maria 5.2 incorrectly reports "(using password: NO)" even when password is specified
set thd->password appropriately also for cases when a user was not found.
Diffstat (limited to 'mysql-test/r/connect.result')
-rw-r--r-- | mysql-test/r/connect.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/connect.result b/mysql-test/r/connect.result index 690a6fb3bc3..00602093425 100644 --- a/mysql-test/r/connect.result +++ b/mysql-test/r/connect.result @@ -237,5 +237,9 @@ ERROR 28000: Access denied for user 'mysqltest_up2'@'localhost' (using password: select user(), current_user(); user() current_user() mysqltest_up2@localhost mysqltest_up2@% +connect(localhost,mysqltest_nouser,newpw,test,MASTER_PORT,MASTER_SOCKET); +ERROR 28000: Access denied for user 'mysqltest_nouser'@'localhost' (using password: YES) +connect(localhost,mysqltest_nouser,,test,MASTER_PORT,MASTER_SOCKET); +ERROR 28000: Access denied for user 'mysqltest_nouser'@'localhost' (using password: NO) DROP USER mysqltest_up1@'%'; DROP USER mysqltest_up2@'%'; |