Commit 1813cacc authored by Horst.Hunger's avatar Horst.Hunger

Patch to fix bug#50981. Replace now the result ::1 by localhost for Windows. Both is valid.

parent 3afa1910
...@@ -6,7 +6,9 @@ eval SET @nip= inet_aton('$IPv6'); ...@@ -6,7 +6,9 @@ eval SET @nip= inet_aton('$IPv6');
SELECT @nip; SELECT @nip;
SELECT inet_ntoa(@nip); SELECT inet_ntoa(@nip);
# delivers a wrong value, see bug#34037 # delivers a wrong value, see bug#34037
--replace_result ::1 localhost
SELECT USER(); SELECT USER();
--replace_result ::1 localhost
SELECT current_user(); SELECT current_user();
--disable_result_log --disable_result_log
SHOW PROCESSLIST; SHOW PROCESSLIST;
...@@ -17,6 +19,7 @@ disconnect con1; ...@@ -17,6 +19,7 @@ disconnect con1;
eval REVOKE ALL ON test.* FROM testuser@'$IPv6'; eval REVOKE ALL ON test.* FROM testuser@'$IPv6';
eval RENAME USER testuser@'$IPv6' to testuser1@'$IPv6'; eval RENAME USER testuser@'$IPv6' to testuser1@'$IPv6';
eval SET PASSWORD FOR testuser1@'$IPv6' = PASSWORD ('9876'); eval SET PASSWORD FOR testuser1@'$IPv6' = PASSWORD ('9876');
--replace_result ::1 localhost
SELECT USER(); SELECT USER();
eval DROP USER testuser1@'$IPv6'; eval DROP USER testuser1@'$IPv6';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment