From 2d58a95bb9cc721492361fcb275f0b6ecf110ed6 Mon Sep 17 00:00:00 2001 From: "Horst.Hunger" Date: Mon, 8 Feb 2010 11:43:56 +0100 Subject: [PATCH] Patch to fix bug#50981. Replace now the result ::1 by localhost for Windows. Both is valid. --- mysql-test/include/ipv6.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mysql-test/include/ipv6.inc b/mysql-test/include/ipv6.inc index 378733dd03a..3d8fdcfbc3c 100644 --- a/mysql-test/include/ipv6.inc +++ b/mysql-test/include/ipv6.inc @@ -6,7 +6,9 @@ eval SET @nip= inet_aton('$IPv6'); SELECT @nip; SELECT inet_ntoa(@nip); # delivers a wrong value, see bug#34037 +--replace_result ::1 localhost SELECT USER(); +--replace_result ::1 localhost SELECT current_user(); --disable_result_log SHOW PROCESSLIST; @@ -17,6 +19,7 @@ disconnect con1; eval REVOKE ALL ON test.* FROM testuser@'$IPv6'; eval RENAME USER testuser@'$IPv6' to testuser1@'$IPv6'; eval SET PASSWORD FOR testuser1@'$IPv6' = PASSWORD ('9876'); +--replace_result ::1 localhost SELECT USER(); eval DROP USER testuser1@'$IPv6';