Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
836b51ac
Commit
836b51ac
authored
Nov 27, 2009
by
Horst.Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No more socket and no more diffs in result files.
parent
8424bef0
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
84 additions
and
82 deletions
+84
-82
mysql-test/include/rpl_ip_mix.inc
mysql-test/include/rpl_ip_mix.inc
+4
-4
mysql-test/include/rpl_ip_mix2.inc
mysql-test/include/rpl_ip_mix2.inc
+4
-4
mysql-test/r/ipv4_as_ipv6_win.result
mysql-test/r/ipv4_as_ipv6_win.result
+2
-0
mysql-test/r/ipv6_win.result
mysql-test/r/ipv6_win.result
+9
-9
mysql-test/suite/rpl/r/rpl_ip_mix2_win.result
mysql-test/suite/rpl/r/rpl_ip_mix2_win.result
+19
-19
mysql-test/suite/rpl/r/rpl_ip_mix_win.result
mysql-test/suite/rpl/r/rpl_ip_mix_win.result
+19
-19
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6_win.result
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6_win.result
+7
-7
mysql-test/suite/rpl/r/rpl_ipv6_win.result
mysql-test/suite/rpl/r/rpl_ipv6_win.result
+19
-19
mysql-test/t/ipv4_as_ipv6_win.test
mysql-test/t/ipv4_as_ipv6_win.test
+1
-1
No files found.
mysql-test/include/rpl_ip_mix.inc
View file @
836b51ac
--
echo
connect
(
master
,
$IPv6
,
root
,,
test
,
MASTER_MYPORT
,
MASTER_MYSOCK
);
--
echo
connect
(
master
,
$IPv6
,
root
,,
test
,
MASTER_MYPORT
);
connect
(
master
,
$IPv6
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connect
(
master
,
$IPv6
,
root
,,
test
,
$MASTER_MYPORT
);
--
echo
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
SLAVE_MYPORT
,
SLAVE_MYSOCK
);
--
echo
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
SLAVE_MYPORT
);
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
$SLAVE_MYPORT
);
--
echo
connection
master
;
--
echo
connection
master
;
connection
master
;
connection
master
;
reset
master
;
reset
master
;
...
...
mysql-test/include/rpl_ip_mix2.inc
View file @
836b51ac
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
,
MASTER_MYSOCK
);
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
);
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
);
--
echo
connect
(
slave
,
$IPv6
,
root
,,
test
,
SLAVE_MYPORT
,
SLAVE_MYSOCK
);
--
echo
connect
(
slave
,
$IPv6
,
root
,,
test
,
SLAVE_MYPORT
);
connect
(
slave
,
$IPv6
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
connect
(
slave
,
$IPv6
,
root
,,
test
,
$SLAVE_MYPORT
);
--
echo
connection
master
;
--
echo
connection
master
;
connection
master
;
connection
master
;
reset
master
;
reset
master
;
...
...
mysql-test/r/ipv4_as_ipv6_win.result
View file @
836b51ac
...
@@ -29,3 +29,5 @@ root@localhost
...
@@ -29,3 +29,5 @@ root@localhost
DROP USER testuser1@'127.0.0.1';
DROP USER testuser1@'127.0.0.1';
=============Test of '::1' ========================
=============Test of '::1' ========================
connect (con1, ::1, root, , test, MASTER_MYPORT,);
connect (con1, ::1, root, , test, MASTER_MYPORT,);
Got one of the listed errors
mysql-test/r/ipv6_win.result
View file @
836b51ac
...
@@ -15,17 +15,17 @@ inet_ntoa(@nip)
...
@@ -15,17 +15,17 @@ inet_ntoa(@nip)
NULL
NULL
SELECT USER();
SELECT USER();
USER()
USER()
root@
localhost
root@
::1
SELECT current_user();
SELECT current_user();
current_user()
current_user()
root@
localhost
root@
::1
SHOW PROCESSLIST;
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'::1';
REVOKE ALL ON test.* FROM testuser@'::1';
RENAME USER testuser@'::1' to testuser1@'::1';
RENAME USER testuser@'::1' to testuser1@'::1';
SET PASSWORD FOR testuser1@'::1' = PASSWORD ('9876');
SET PASSWORD FOR testuser1@'::1' = PASSWORD ('9876');
SELECT USER();
SELECT USER();
USER()
USER()
root@
localhost
root@
::1
DROP USER testuser1@'::1';
DROP USER testuser1@'::1';
=============Test of '::1/128' ====================================
=============Test of '::1/128' ====================================
=============Test of '0000:0000:0000:0000:0000:0000:0000:0001' ====
=============Test of '0000:0000:0000:0000:0000:0000:0000:0001' ====
...
@@ -45,17 +45,17 @@ inet_ntoa(@nip)
...
@@ -45,17 +45,17 @@ inet_ntoa(@nip)
NULL
NULL
SELECT USER();
SELECT USER();
USER()
USER()
root@
localhost
root@
::1
SELECT current_user();
SELECT current_user();
current_user()
current_user()
root@
localhost
root@
::1
SHOW PROCESSLIST;
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0000:0000:0000:0000:0000:0000:0000:0001';
REVOKE ALL ON test.* FROM testuser@'0000:0000:0000:0000:0000:0000:0000:0001';
RENAME USER testuser@'0000:0000:0000:0000:0000:0000:0000:0001' to testuser1@'0000:0000:0000:0000:0000:0000:0000:0001';
RENAME USER testuser@'0000:0000:0000:0000:0000:0000:0000:0001' to testuser1@'0000:0000:0000:0000:0000:0000:0000:0001';
SET PASSWORD FOR testuser1@'0000:0000:0000:0000:0000:0000:0000:0001' = PASSWORD ('9876');
SET PASSWORD FOR testuser1@'0000:0000:0000:0000:0000:0000:0000:0001' = PASSWORD ('9876');
SELECT USER();
SELECT USER();
USER()
USER()
root@
localhost
root@
::1
DROP USER testuser1@'0000:0000:0000:0000:0000:0000:0000:0001';
DROP USER testuser1@'0000:0000:0000:0000:0000:0000:0000:0001';
=============Test of '0:0:0:0:0:0:0:1' ============================
=============Test of '0:0:0:0:0:0:0:1' ============================
mysqld is alive
mysqld is alive
...
@@ -74,15 +74,15 @@ inet_ntoa(@nip)
...
@@ -74,15 +74,15 @@ inet_ntoa(@nip)
NULL
NULL
SELECT USER();
SELECT USER();
USER()
USER()
root@
localhost
root@
::1
SELECT current_user();
SELECT current_user();
current_user()
current_user()
root@
localhost
root@
::1
SHOW PROCESSLIST;
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0:0:0:0:0:0:0:1';
REVOKE ALL ON test.* FROM testuser@'0:0:0:0:0:0:0:1';
RENAME USER testuser@'0:0:0:0:0:0:0:1' to testuser1@'0:0:0:0:0:0:0:1';
RENAME USER testuser@'0:0:0:0:0:0:0:1' to testuser1@'0:0:0:0:0:0:0:1';
SET PASSWORD FOR testuser1@'0:0:0:0:0:0:0:1' = PASSWORD ('9876');
SET PASSWORD FOR testuser1@'0:0:0:0:0:0:0:1' = PASSWORD ('9876');
SELECT USER();
SELECT USER();
USER()
USER()
root@
localhost
root@
::1
DROP USER testuser1@'0:0:0:0:0:0:0:1';
DROP USER testuser1@'0:0:0:0:0:0:0:1';
mysql-test/suite/rpl/r/rpl_ip_mix2_win.result
View file @
836b51ac
#################### IP: ::1 ###########################
#################### IP: ::1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
...
@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
change master to master_host='::1';
change master to master_host='::1';
Master
_
Host: ::1
Master
-
Host: ::1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: ::1
Master
-
Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master
_
Host: 0000:0000:0000:0000:0000:0000:0000:0001
Master
-
Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 0:0:0:0:0:0:0:1 ###########################
#################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 0000:0000:0000:0000:0000:0000:0000:0001
Master
-
Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1';
change master to master_host='0:0:0:0:0:0:0:1';
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 127.0.0.1 ###########################
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
...
@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='::1';
change master to master_host='::1';
Master
_
Host: ::1
Master
-
Host: ::1
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1';
change master to master_host='0:0:0:0:0:0:0:1';
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
mysql-test/suite/rpl/r/rpl_ip_mix_win.result
View file @
836b51ac
#################### IP: ::1 ###########################
#################### IP: ::1 ###########################
connect (master,::1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
...
@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
change master to master_host='::1';
change master to master_host='::1';
Master
_
Host: ::1
Master
-
Host: ::1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: ::1
Master
-
Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master
_
Host: 0000:0000:0000:0000:0000:0000:0000:0001
Master
-
Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 0:0:0:0:0:0:0:1 ###########################
#################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 0000:0000:0000:0000:0000:0000:0000:0001
Master
-
Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1';
change master to master_host='0:0:0:0:0:0:0:1';
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 127.0.0.1 ###########################
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
...
@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='::1';
change master to master_host='::1';
Master
_
Host: ::1
Master
-
Host: ::1
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1';
change master to master_host='0:0:0:0:0:0:0:1';
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6_win.result
View file @
836b51ac
#################### IP: 127.0.0.1 ###########################
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -9,7 +9,7 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
...
@@ -9,7 +9,7 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
...
@@ -23,13 +23,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -23,13 +23,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='::1';
change master to master_host='::1';
Master
_
Host: ::1
Master
-
Host: ::1
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1';
change master to master_host='0:0:0:0:0:0:0:1';
Master
_
Host 0:0:0:0:0:0:0:1
Master
-
Host 0:0:0:0:0:0:0:1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
mysql-test/suite/rpl/r/rpl_ipv6_win.result
View file @
836b51ac
#################### IP: ::1 ###########################
#################### IP: ::1 ###########################
connect (master,::1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
...
@@ -9,13 +9,13 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
change master to master_host='::1';
change master to master_host='::1';
Master
_
Host: ::1
Master
-
Host: ::1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -23,15 +23,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: ::1
Master
-
Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master
_
Host: 0000:0000:0000:0000:0000:0000:0000:0001
Master
-
Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 0:0:0:0:0:0:0:1 ###########################
#################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT);
connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -39,15 +39,15 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 0000:0000:0000:0000:0000:0000:0000:0001
Master
-
Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1';
change master to master_host='0:0:0:0:0:0:0:1';
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
#################### IP: 127.0.0.1 ###########################
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT
,MASTER_MYSOCK
);
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT
,SLAVE_MYSOCK
);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
connection master;
reset master;
reset master;
show master status;
show master status;
...
@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -55,9 +55,9 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
...
@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
...
@@ -71,13 +71,13 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
connection slave;
reset slave;
reset slave;
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='::1';
change master to master_host='::1';
Master
_
Host: ::1
Master
-
Host: ::1
change master to master_host='127.0.0.1';
change master to master_host='127.0.0.1';
Master
_
Host: 127.0.0.1
Master
-
Host: 127.0.0.1
change master to master_host='0:0:0:0:0:0:0:1';
change master to master_host='0:0:0:0:0:0:0:1';
Master
_
Host: 0:0:0:0:0:0:0:1
Master
-
Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect slave;
disconnect master;
disconnect master;
connection default;
connection default;
mysql-test/t/ipv4_as_ipv6_win.test
View file @
836b51ac
...
@@ -22,7 +22,7 @@ echo =============Test of '::1' ========================;
...
@@ -22,7 +22,7 @@ echo =============Test of '::1' ========================;
let
$IPv6
=
::
1
;
let
$IPv6
=
::
1
;
--
echo
connect
(
con1
,
$IPv6
,
root
,
,
test
,
MASTER_MYPORT
,);
--
echo
connect
(
con1
,
$IPv6
,
root
,
,
test
,
MASTER_MYPORT
,);
--
disable_query_log
--
disable_query_log
#
--error 2003,2006
--
error
2003
,
2006
connect
(
con1
,
$IPv6
,
root
,
,
test
,
$MASTER_MYPORT
);
connect
(
con1
,
$IPv6
,
root
,
,
test
,
$MASTER_MYPORT
);
--
enable_query_log
--
enable_query_log
connection
default
;
connection
default
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment