From 6c958d6e80f681c207f4298b754c8b18170d3224 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 20 Dec 2010 19:19:24 +0100 Subject: 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. --- mysql-test/r/connect.result | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mysql-test/r/connect.result') 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@'%'; -- cgit v1.2.1