Skip to content

Commit 1813cac

Browse files
author
Horst.Hunger
committed
Patch to fix bug#50981. Replace now the result ::1 by localhost for Windows. Both is valid.
1 parent 3afa191 commit 1813cac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mysql-test/include/ipv6.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ eval SET @nip= inet_aton('$IPv6');
66
SELECT @nip;
77
SELECT inet_ntoa(@nip);
88
# delivers a wrong value, see bug#34037
9+
--replace_result ::1 localhost
910
SELECT USER();
11+
--replace_result ::1 localhost
1012
SELECT current_user();
1113
--disable_result_log
1214
SHOW PROCESSLIST;
@@ -17,6 +19,7 @@ disconnect con1;
1719
eval REVOKE ALL ON test.* FROM testuser@'$IPv6';
1820
eval RENAME USER testuser@'$IPv6' to testuser1@'$IPv6';
1921
eval SET PASSWORD FOR testuser1@'$IPv6' = PASSWORD ('9876');
22+
--replace_result ::1 localhost
2023
SELECT USER();
2124
eval DROP USER testuser1@'$IPv6';
2225

0 commit comments

Comments
 (0)