Patch to fix bug#50981. Replace now the result ::1 by localhost for Windows. Both is valid.
This commit is contained in:
parent
7391f5f6c5
commit
2d58a95bb9
@ -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;
|
|||||||
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';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user