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
718e1032
Commit
718e1032
authored
Jan 29, 2010
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Plain Diff
merging to a local bug fixes tree
parents
7db8e764
ffee1220
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
41 additions
and
1631 deletions
+41
-1631
mysql-test/collections/default.daily
mysql-test/collections/default.daily
+4
-1
mysql-test/include/have_ipv4_mapped.inc
mysql-test/include/have_ipv4_mapped.inc
+14
-0
mysql-test/r/ipv4_as_ipv6_win.result
mysql-test/r/ipv4_as_ipv6_win.result
+0
-32
mysql-test/r/ipv6.result
mysql-test/r/ipv6.result
+0
-176
mysql-test/r/ipv6_win.result
mysql-test/r/ipv6_win.result
+0
-88
mysql-test/r/mysqld--help-win.result
mysql-test/r/mysqld--help-win.result
+1
-1
mysql-test/suite/rpl/r/rpl_ip_mix.result
mysql-test/suite/rpl/r/rpl_ip_mix.result
+3
-99
mysql-test/suite/rpl/r/rpl_ip_mix2.result
mysql-test/suite/rpl/r/rpl_ip_mix2.result
+3
-115
mysql-test/suite/rpl/r/rpl_ip_mix2_win.result
mysql-test/suite/rpl/r/rpl_ip_mix2_win.result
+0
-84
mysql-test/suite/rpl/r/rpl_ip_mix_win.result
mysql-test/suite/rpl/r/rpl_ip_mix_win.result
+0
-84
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6.result
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6.result
+5
-5
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6_win.result
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6_win.result
+0
-35
mysql-test/suite/rpl/r/rpl_ipv6.result
mysql-test/suite/rpl/r/rpl_ipv6.result
+3
-93
mysql-test/suite/rpl/r/rpl_ipv6_win.result
mysql-test/suite/rpl/r/rpl_ipv6_win.result
+0
-80
mysql-test/suite/rpl/t/rpl_ip_mix.test
mysql-test/suite/rpl/t/rpl_ip_mix.test
+1
-35
mysql-test/suite/rpl/t/rpl_ip_mix2.test
mysql-test/suite/rpl/t/rpl_ip_mix2.test
+1
-39
mysql-test/suite/rpl/t/rpl_ip_mix2_win.cnf
mysql-test/suite/rpl/t/rpl_ip_mix2_win.cnf
+0
-56
mysql-test/suite/rpl/t/rpl_ip_mix2_win.test
mysql-test/suite/rpl/t/rpl_ip_mix2_win.test
+0
-78
mysql-test/suite/rpl/t/rpl_ip_mix_win.cnf
mysql-test/suite/rpl/t/rpl_ip_mix_win.cnf
+0
-56
mysql-test/suite/rpl/t/rpl_ip_mix_win.test
mysql-test/suite/rpl/t/rpl_ip_mix_win.test
+0
-65
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6.test
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6.test
+4
-19
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6_win.cnf
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6_win.cnf
+0
-56
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6_win.test
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6_win.test
+0
-63
mysql-test/suite/rpl/t/rpl_ipv6.test
mysql-test/suite/rpl/t/rpl_ipv6.test
+1
-33
mysql-test/suite/rpl/t/rpl_ipv6_win.cnf
mysql-test/suite/rpl/t/rpl_ipv6_win.cnf
+0
-56
mysql-test/suite/rpl/t/rpl_ipv6_win.test
mysql-test/suite/rpl/t/rpl_ipv6_win.test
+0
-65
mysql-test/t/ipv4_as_ipv6.test
mysql-test/t/ipv4_as_ipv6.test
+1
-2
mysql-test/t/ipv4_as_ipv6_win-master.opt
mysql-test/t/ipv4_as_ipv6_win-master.opt
+0
-1
mysql-test/t/ipv4_as_ipv6_win.test
mysql-test/t/ipv4_as_ipv6_win.test
+0
-31
mysql-test/t/ipv6.test
mysql-test/t/ipv6.test
+0
-43
mysql-test/t/ipv6_win-master.opt
mysql-test/t/ipv6_win-master.opt
+0
-1
mysql-test/t/ipv6_win.test
mysql-test/t/ipv6_win.test
+0
-39
No files found.
mysql-test/collections/default.daily
View file @
718e1032
perl mysql-test-run.pl --timer --force --comment=rpl_ndb_row --vardir=var-rpl_ndb_row --suite=rpl_ndb,ndb --mysqld=--binlog-format=row --experimental=collections/default.experimental
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=n_mix --vardir=var-n_mix --mysqld=--binlog-format=mixed
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=ps_row --vardir=var-ps_row --ps-protocol --mysqld=--binlog-format=row
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=embedded --vardir=var-emebbed --embedded
perl mysql-test-run.pl --timer --force --parallel=auto --experimental=collections/default.experimental --comment=funcs_1 --vardir=var-funcs_1 --suite=funcs_1
mysql-test/include/have_ipv4_mapped.inc
0 → 100644
View file @
718e1032
# Check if ipv4 mapped to ipv6 is available.
--
disable_query_log
--
disable_abort_on_error
connect
(
checkcon123456789
,
::
FFFF
:
127.0
.
0.1
,
root
,,
test
);
if
(
$mysql_errno
)
{
skip
wrong
IP
;
}
connection
default
;
disconnect
checkcon123456789
;
--
enable_abort_on_error
--
enable_query_log
# end check
mysql-test/r/ipv4_as_ipv6_win.result
deleted
100644 → 0
View file @
7db8e764
=============Test of '127.0.0.1' (IPv4) ===========================
mysqld is alive
CREATE USER testuser@'127.0.0.1' identified by '1234';
GRANT ALL ON test.* TO testuser@'127.0.0.1';
SHOW GRANTS FOR testuser@'127.0.0.1';
Grants for testuser@127.0.0.1
GRANT USAGE ON *.* TO 'testuser'@'127.0.0.1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'127.0.0.1'
SET @nip= inet_aton('127.0.0.1');
SELECT @nip;
@nip
2130706433
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
127.0.0.1
SELECT USER();
USER()
root@127.0.0.1
SELECT current_user();
current_user()
root@127.0.0.1
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'127.0.0.1';
RENAME USER testuser@'127.0.0.1' to testuser1@'127.0.0.1';
SET PASSWORD FOR testuser1@'127.0.0.1' = PASSWORD ('9876');
SELECT USER();
USER()
root@127.0.0.1
DROP USER testuser1@'127.0.0.1';
=============Test of '::1' ========================
connect (con1, ::1, root, , test, MASTER_MYPORT);
Got one of the listed errors
mysql-test/r/ipv6.result
View file @
718e1032
...
...
@@ -86,179 +86,3 @@ SELECT USER();
USER()
root@localhost
DROP USER testuser1@'0:0:0:0:0:0:0:1';
=============Test of '127.0.0.1' (IPv4) ===========================
mysqld is alive
CREATE USER testuser@'127.0.0.1' identified by '1234';
GRANT ALL ON test.* TO testuser@'127.0.0.1';
SHOW GRANTS FOR testuser@'127.0.0.1';
Grants for testuser@127.0.0.1
GRANT USAGE ON *.* TO 'testuser'@'127.0.0.1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'127.0.0.1'
SET @nip= inet_aton('127.0.0.1');
SELECT @nip;
@nip
2130706433
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
127.0.0.1
SELECT USER();
USER()
root@localhost
SELECT current_user();
current_user()
root@localhost
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'127.0.0.1';
RENAME USER testuser@'127.0.0.1' to testuser1@'127.0.0.1';
SET PASSWORD FOR testuser1@'127.0.0.1' = PASSWORD ('9876');
SELECT USER();
USER()
root@localhost
DROP USER testuser1@'127.0.0.1';
=============Test of '0:0:0:0:0:FFFF:127.0.0.1' ===================
mysqld is alive
CREATE USER testuser@'0:0:0:0:0:FFFF:127.0.0.1' identified by '1234';
GRANT ALL ON test.* TO testuser@'0:0:0:0:0:FFFF:127.0.0.1';
SHOW GRANTS FOR testuser@'0:0:0:0:0:FFFF:127.0.0.1';
Grants for testuser@0:0:0:0:0:FFFF:127.0.0.1
GRANT USAGE ON *.* TO 'testuser'@'0:0:0:0:0:FFFF:127.0.0.1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'0:0:0:0:0:FFFF:127.0.0.1'
SET @nip= inet_aton('0:0:0:0:0:FFFF:127.0.0.1');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@localhost
SELECT current_user();
current_user()
root@localhost
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0:0:0:0:0:FFFF:127.0.0.1';
RENAME USER testuser@'0:0:0:0:0:FFFF:127.0.0.1' to testuser1@'0:0:0:0:0:FFFF:127.0.0.1';
SET PASSWORD FOR testuser1@'0:0:0:0:0:FFFF:127.0.0.1' = PASSWORD ('9876');
SELECT USER();
USER()
root@localhost
DROP USER testuser1@'0:0:0:0:0:FFFF:127.0.0.1';
=============Test of '0000:0000:0000:0000:0000:FFFF:127.0.0.1' ====
mysqld is alive
CREATE USER testuser@'0000:0000:0000:0000:0000:FFFF:127.0.0.1' identified by '1234';
GRANT ALL ON test.* TO testuser@'0000:0000:0000:0000:0000:FFFF:127.0.0.1';
SHOW GRANTS FOR testuser@'0000:0000:0000:0000:0000:FFFF:127.0.0.1';
Grants for testuser@0000:0000:0000:0000:0000:FFFF:127.0.0.1
GRANT USAGE ON *.* TO 'testuser'@'0000:0000:0000:0000:0000:FFFF:127.0.0.1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'0000:0000:0000:0000:0000:FFFF:127.0.0.1'
SET @nip= inet_aton('0000:0000:0000:0000:0000:FFFF:127.0.0.1');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@localhost
SELECT current_user();
current_user()
root@localhost
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0000:0000:0000:0000:0000:FFFF:127.0.0.1';
RENAME USER testuser@'0000:0000:0000:0000:0000:FFFF:127.0.0.1' to testuser1@'0000:0000:0000:0000:0000:FFFF:127.0.0.1';
SET PASSWORD FOR testuser1@'0000:0000:0000:0000:0000:FFFF:127.0.0.1' = PASSWORD ('9876');
SELECT USER();
USER()
root@localhost
DROP USER testuser1@'0000:0000:0000:0000:0000:FFFF:127.0.0.1';
=============Test of '0:0000:0000:0:0000:FFFF:127.0.0.1' ====
mysqld is alive
CREATE USER testuser@'0:0000:0000:0:0000:FFFF:127.0.0.1' identified by '1234';
GRANT ALL ON test.* TO testuser@'0:0000:0000:0:0000:FFFF:127.0.0.1';
SHOW GRANTS FOR testuser@'0:0000:0000:0:0000:FFFF:127.0.0.1';
Grants for testuser@0:0000:0000:0:0000:FFFF:127.0.0.1
GRANT USAGE ON *.* TO 'testuser'@'0:0000:0000:0:0000:FFFF:127.0.0.1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'0:0000:0000:0:0000:FFFF:127.0.0.1'
SET @nip= inet_aton('0:0000:0000:0:0000:FFFF:127.0.0.1');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@localhost
SELECT current_user();
current_user()
root@localhost
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0:0000:0000:0:0000:FFFF:127.0.0.1';
RENAME USER testuser@'0:0000:0000:0:0000:FFFF:127.0.0.1' to testuser1@'0:0000:0000:0:0000:FFFF:127.0.0.1';
SET PASSWORD FOR testuser1@'0:0000:0000:0:0000:FFFF:127.0.0.1' = PASSWORD ('9876');
SELECT USER();
USER()
root@localhost
DROP USER testuser1@'0:0000:0000:0:0000:FFFF:127.0.0.1';
=============Test of '0::0000:FFFF:127.0.0.1' ====
mysqld is alive
CREATE USER testuser@'0::0000:FFFF:127.0.0.1' identified by '1234';
GRANT ALL ON test.* TO testuser@'0::0000:FFFF:127.0.0.1';
SHOW GRANTS FOR testuser@'0::0000:FFFF:127.0.0.1';
Grants for testuser@0::0000:FFFF:127.0.0.1
GRANT USAGE ON *.* TO 'testuser'@'0::0000:FFFF:127.0.0.1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'0::0000:FFFF:127.0.0.1'
SET @nip= inet_aton('0::0000:FFFF:127.0.0.1');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@localhost
SELECT current_user();
current_user()
root@localhost
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'0::0000:FFFF:127.0.0.1';
RENAME USER testuser@'0::0000:FFFF:127.0.0.1' to testuser1@'0::0000:FFFF:127.0.0.1';
SET PASSWORD FOR testuser1@'0::0000:FFFF:127.0.0.1' = PASSWORD ('9876');
SELECT USER();
USER()
root@localhost
DROP USER testuser1@'0::0000:FFFF:127.0.0.1';
=============Test of '0:0:0:0:0:FFFF:127.0.0.1/96' ================
=============Test of '::FFFF:127.0.0.1' ===========================
mysqld is alive
CREATE USER testuser@'::FFFF:127.0.0.1' identified by '1234';
GRANT ALL ON test.* TO testuser@'::FFFF:127.0.0.1';
SHOW GRANTS FOR testuser@'::FFFF:127.0.0.1';
Grants for testuser@::FFFF:127.0.0.1
GRANT USAGE ON *.* TO 'testuser'@'::FFFF:127.0.0.1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'::FFFF:127.0.0.1'
SET @nip= inet_aton('::FFFF:127.0.0.1');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@localhost
SELECT current_user();
current_user()
root@localhost
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'::FFFF:127.0.0.1';
RENAME USER testuser@'::FFFF:127.0.0.1' to testuser1@'::FFFF:127.0.0.1';
SET PASSWORD FOR testuser1@'::FFFF:127.0.0.1' = PASSWORD ('9876');
SELECT USER();
USER()
root@localhost
DROP USER testuser1@'::FFFF:127.0.0.1';
=============Test of '::FFFF:127.0.0.1/96' ========================
mysql-test/r/ipv6_win.result
deleted
100644 → 0
View file @
7db8e764
=============Test of '::1' ========================================
mysqld is alive
CREATE USER testuser@'::1' identified by '1234';
GRANT ALL ON test.* TO testuser@'::1';
SHOW GRANTS FOR testuser@'::1';
Grants for testuser@::1
GRANT USAGE ON *.* TO 'testuser'@'::1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'::1'
SET @nip= inet_aton('::1');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@::1
SELECT current_user();
current_user()
root@::1
SHOW PROCESSLIST;
REVOKE ALL ON test.* FROM testuser@'::1';
RENAME USER testuser@'::1' to testuser1@'::1';
SET PASSWORD FOR testuser1@'::1' = PASSWORD ('9876');
SELECT USER();
USER()
root@::1
DROP USER testuser1@'::1';
=============Test of '::1/128' ====================================
=============Test of '0000:0000:0000:0000:0000:0000:0000:0001' ====
mysqld is alive
CREATE USER testuser@'0000:0000:0000:0000:0000:0000:0000:0001' identified by '1234';
GRANT ALL ON test.* TO testuser@'0000:0000:0000:0000:0000:0000:0000:0001';
SHOW GRANTS FOR testuser@'0000:0000:0000:0000:0000:0000:0000:0001';
Grants for testuser@0000:0000:0000:0000:0000:0000:0000:0001
GRANT USAGE ON *.* TO 'testuser'@'0000:0000:0000:0000:0000:0000:0000:0001' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'0000:0000:0000:0000:0000:0000:0000:0001'
SET @nip= inet_aton('0000:0000:0000:0000:0000:0000:0000:0001');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@::1
SELECT current_user();
current_user()
root@::1
SHOW PROCESSLIST;
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';
SET PASSWORD FOR testuser1@'0000:0000:0000:0000:0000:0000:0000:0001' = PASSWORD ('9876');
SELECT USER();
USER()
root@::1
DROP USER testuser1@'0000:0000:0000:0000:0000:0000:0000:0001';
=============Test of '0:0:0:0:0:0:0:1' ============================
mysqld is alive
CREATE USER testuser@'0:0:0:0:0:0:0:1' identified by '1234';
GRANT ALL ON test.* TO testuser@'0:0:0:0:0:0:0:1';
SHOW GRANTS FOR testuser@'0:0:0:0:0:0:0:1';
Grants for testuser@0:0:0:0:0:0:0:1
GRANT USAGE ON *.* TO 'testuser'@'0:0:0:0:0:0:0:1' IDENTIFIED BY PASSWORD '*A4B6157319038724E3560894F7F932C8886EBFCF'
GRANT ALL PRIVILEGES ON `test`.* TO 'testuser'@'0:0:0:0:0:0:0:1'
SET @nip= inet_aton('0:0:0:0:0:0:0:1');
SELECT @nip;
@nip
NULL
SELECT inet_ntoa(@nip);
inet_ntoa(@nip)
NULL
SELECT USER();
USER()
root@::1
SELECT current_user();
current_user()
root@::1
SHOW PROCESSLIST;
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';
SET PASSWORD FOR testuser1@'0:0:0:0:0:0:0:1' = PASSWORD ('9876');
SELECT USER();
USER()
root@::1
DROP USER testuser1@'0:0:0:0:0:0:0:1';
mysql-test/r/mysqld--help-win.result
View file @
718e1032
...
...
@@ -37,7 +37,7 @@ The following options may be given as the first argument:
binary log during a transaction. If you often use big,
multi-statement transactions you can increase this to get
more performance
--binlog-direct-non-transactional-updates
--binlog-direct-non-transactional-updates
Causes updates to non-transactional engines using
statement format to be written directly to binary log.
Before using this option make sure that there are no
...
...
mysql-test/suite/rpl/r/rpl_ip_mix.result
View file @
718e1032
...
...
@@ -46,102 +46,6 @@ Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0:0:0:0:FFFF:127.0.0.1 ###########################
connect (master,0:0:0:0:0:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 127.0.0.1
change master to master_host='0:0:0:0:0:FFFF:127.0.0.1';
Master-Host: 0:0:0:0:0:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0000:0000:0000:0000:0000:FFFF:127.0.0.1 ###########################
connect (master,0000:0000:0000:0000:0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0:0:0:0:FFFF:127.0.0.1
change master to master_host='0000:0000:0000:0000:0000:FFFF:127.0.0.1';
Master-Host: 0000:0000:0000:0000:0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0000:0000:0:0000:FFFF:127.0.0.1 ###########################
connect (master,0:0000:0000:0:0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0000:0000:0000:0000:0000:FFFF:127.0.0.1
change master to master_host='0:0000:0000:0:0000:FFFF:127.0.0.1';
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0::0000:FFFF:127.0.0.1 ###########################
connect (master,0::0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
change master to master_host='0::0000:FFFF:127.0.0.1';
Master-Host: 0::0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::FFFF:127.0.0.1 ###########################
connect (master,::FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0::0000:FFFF:127.0.0.1
change master to master_host='::FFFF:127.0.0.1';
Master-Host: ::FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 mix #######################
connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
...
...
@@ -152,11 +56,11 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host:
::FFFF:127.0.0.
1
Master-Host:
0:0:0:0:0:0:0:
1
change master to master_host='::1';
Master-Host: ::1
change master to master_host='
::FFFF:
127.0.0.1';
Master-Host:
::FFFF:
127.0.0.1
change master to 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';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
...
...
mysql-test/suite/rpl/r/rpl_ip_mix2.result
View file @
718e1032
...
...
@@ -14,22 +14,6 @@ Master-Host: ::1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: ::1
change master to master_host='::1';
Master-Host: ::1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT);
...
...
@@ -62,102 +46,6 @@ Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0:0:0:0:FFFF:127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0:0:0:0:0:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 127.0.0.1
change master to master_host='0:0:0:0:0:FFFF:127.0.0.1';
Master-Host: 0:0:0:0:0:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0000:0000:0000:0000:0000:FFFF:127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0:0:0:0:FFFF:127.0.0.1
change master to master_host='0000:0000:0000:0000:0000:FFFF:127.0.0.1';
Master-Host: 0000:0000:0000:0000:0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0000:0000:0:0000:FFFF:127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0:0000:0000:0:0000:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0000:0000:0000:0000:0000:FFFF:127.0.0.1
change master to master_host='0:0000:0000:0:0000:FFFF:127.0.0.1';
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0::0000:FFFF:127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0::0000:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
change master to master_host='0::0000:FFFF:127.0.0.1';
Master-Host: 0::0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::FFFF:127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0::0000:FFFF:127.0.0.1
change master to master_host='::FFFF:127.0.0.1';
Master-Host: ::FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 mix #######################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT);
...
...
@@ -168,11 +56,11 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host:
::FFFF:127.0.0.
1
Master-Host:
0:0:0:0:0:0:0:
1
change master to master_host='::1';
Master-Host: ::1
change master to master_host='
::FFFF:
127.0.0.1';
Master-Host:
::FFFF:
127.0.0.1
change master to 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';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
...
...
mysql-test/suite/rpl/r/rpl_ip_mix2_win.result
deleted
100644 → 0
View file @
7db8e764
#################### IP: ::1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: No such row
change master to master_host='::1';
Master-Host: ::1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0:0:0:0:0:0:0:1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 mix #######################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 127.0.0.1
change master to master_host='::1';
Master-Host: ::1
change master to 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';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
mysql-test/suite/rpl/r/rpl_ip_mix_win.result
deleted
100644 → 0
View file @
7db8e764
#################### IP: ::1 ###########################
connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: No such row
change master to master_host='::1';
Master-Host: ::1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
connect (master,0000:0000:0000:0000:0000:0000:0000:0001,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: ::1
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0:0:0:0:0:0:1 ###########################
connect (master,0:0:0:0:0:0:0:1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
change master to master_host='0:0:0:0:0:0:0:1';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 0:0:0:0:0:0:0:1
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 mix #######################
connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 127.0.0.1
change master to master_host='::1';
Master-Host: ::1
change master to 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';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6.result
View file @
718e1032
...
...
@@ -88,7 +88,7 @@ Master-Host: ::FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 ###########################
#################### IP: ::
FFFF:127.0.0.
1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
...
...
@@ -99,12 +99,12 @@ master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: ::FFFF:127.0.0.1
change master to master_host='::1';
Master-Host: ::1
change master to master_host='::FFFF:127.0.0.1';
Master-Host: ::FFFF:127.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
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
change master to master_host='0:0000:0000:0:0000:FFFF:127.0.0.1';
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
mysql-test/suite/rpl/r/rpl_ipv4_as_ipv6_win.result
deleted
100644 → 0
View file @
7db8e764
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 127.0.0.1
change master to master_host='::1';
Master-Host: ::1
change master to 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';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
mysql-test/suite/rpl/r/rpl_ipv6.result
View file @
718e1032
...
...
@@ -43,96 +43,6 @@ Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0:0:0:0:FFFF:127.0.0.1 ###########################
connect (master,0:0:0:0:0:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0:0:0:0:0:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='0:0:0:0:0:FFFF:127.0.0.1';
Master-Host: 0:0:0:0:0:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0000:0000:0000:0000:0000:FFFF:127.0.0.1 ###########################
connect (master,0000:0000:0000:0000:0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0000:0000:0000:0000:0000:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='0000:0000:0000:0000:0000:FFFF:127.0.0.1';
Master-Host: 0000:0000:0000:0000:0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0000:0000:0:0000:FFFF:127.0.0.1 ###########################
connect (master,0:0000:0000:0:0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0:0000:0000:0:0000:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='0:0000:0000:0:0000:FFFF:127.0.0.1';
Master-Host: 0:0000:0000:0:0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0::0000:FFFF:127.0.0.1 ###########################
connect (master,0::0000:FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,0::0000:FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='0::0000:FFFF:127.0.0.1';
Master-Host: 0::0000:FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::FFFF:127.0.0.1 ###########################
connect (master,::FFFF:127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,::FFFF:127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='::FFFF:127.0.0.1';
Master-Host: ::FFFF:127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 mix #######################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
...
...
@@ -143,11 +53,11 @@ File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host:
::FFFF:127.0.0.
1
Master-Host:
0:0:0:0:0:0:0:
1
change master to master_host='::1';
Master-Host: ::1
change master to master_host='
::FFFF:
127.0.0.1';
Master-Host:
::FFFF:
127.0.0.1
change master to 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';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
...
...
mysql-test/suite/rpl/r/rpl_ipv6_win.result
deleted
100644 → 0
View file @
7db8e764
#################### IP: ::1 ###########################
connect (master,::1,root,,test,MASTER_MYPORT);
connect (slave,::1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='::1';
Master-Host: ::1
disconnect slave;
disconnect master;
connection default;
#################### IP: 0000:0000:0000:0000:0000:0000:0000:0001 ###########################
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);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='0000:0000:0000:0000:0000:0000:0000:0001';
Master-Host: 0000:0000:0000:0000:0000:0000:0000:0001
disconnect slave;
disconnect master;
connection default;
#################### IP: 0:0:0:0:0:0:0:1 ###########################
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);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='0:0:0:0:0:0:0:1';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
#################### IP: 127.0.0.1 ###########################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
change master to master_host='127.0.0.1';
Master-Host: 127.0.0.1
disconnect slave;
disconnect master;
connection default;
#################### IP: ::1 mix #######################
connect (master,127.0.0.1,root,,test,MASTER_MYPORT);
connect (slave,127.0.0.1,root,,test,SLAVE_MYPORT);
connection master;
reset master;
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 # <Binlog_Do_DB> <Binlog_Ignore_DB>
connection slave;
reset slave;
Master-Host: 127.0.0.1
change master to master_host='::1';
Master-Host: ::1
change master to 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';
Master-Host: 0:0:0:0:0:0:0:1
disconnect slave;
disconnect master;
connection default;
mysql-test/suite/rpl/t/rpl_ip_mix.test
View file @
718e1032
...
...
@@ -7,8 +7,6 @@
# (see corresponding cnf file)
#
--
source
include
/
check_ipv6
.
inc
# Can't be tested with windows due to mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
not_windows
.
inc
--
source
include
/
have_log_bin
.
inc
let
$IPv6
=
::
1
;
...
...
@@ -27,38 +25,6 @@ let $IPv6= 0:0:0:0:0:0:0:1;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
0
:
0000
:
0000
:
0
:
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
0
::
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
#let $IPv6= 0:0:0:0:0:FFFF:127.0.0.1/96;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ip_mix.inc
let
$IPv6
=
::
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
#let $IPv6= ::FFFF:127.0.0.1/96;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ip_mix.inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 mix #######################
--
echo
connect
(
master
,
$IPv6
,
root
,,
test
,
MASTER_MYPORT
);
...
...
@@ -78,7 +44,7 @@ let $master_host= query_get_value(SHOW SLAVE STATUS, Master_Host, 1);
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'
::FFFF:
127.0.0.1'
;
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0:0:0:0:0:0:1'
;
...
...
mysql-test/suite/rpl/t/rpl_ip_mix2.test
View file @
718e1032
...
...
@@ -19,14 +19,8 @@ disconnect checkcon123456789;
--
enable_abort_on_error
--
enable_query_log
# end check
# Can't be tested with windows due to mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
not_windows
.
inc
--
source
include
/
have_log_bin
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
...
...
@@ -43,38 +37,6 @@ let $IPv6= 0:0:0:0:0:0:0:1;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
0
:
0000
:
0000
:
0
:
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
0
::
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
#let $IPv6= 0:0:0:0:0:FFFF:127.0.0.1/96;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ip_mix2.inc
let
$IPv6
=
::
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
#let $IPv6= ::FFFF:127.0.0.1/96;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ip_mix2.inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 mix #######################
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
);
...
...
@@ -94,7 +56,7 @@ let $master_host= query_get_value(SHOW SLAVE STATUS, Master_Host, 1);
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'
::FFFF:
127.0.0.1'
;
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0:0:0:0:0:0:1'
;
...
...
mysql-test/suite/rpl/t/rpl_ip_mix2_win.cnf
deleted
100644 → 0
View file @
7db8e764
# Use default setting for mysqld processes
!include include/default_mysqld.cnf
!include include/default_client.cnf
[mysqld.1]
# Run the master.sh script before starting this process
#!run-master-sh
log-bin= master-bin
loose-innodb
skip-name-resolve
bind-address= 0.0.0.0
[mysqld.2]
# Run the slave.sh script before starting this process
#!run-slave-sh
# Append <testname>-slave.opt file to the list of argument used when
# starting the mysqld
#!use-slave-opt
log-bin= slave-bin
relay-log= slave-relay-bin
init-rpl-role= slave
log-slave-updates
master-retry-count= 10
# Values reported by slave when it connect to master
# and shows up in SHOW SLAVE STATUS;
report-host= localhost
report-port= @mysqld.2.port
report-user= root
skip-slave-start
skip-name-resolve
bind-address= ::
# Directory where slaves find the dumps generated by "load data"
# on the server. The path need to have constant length otherwise
# test results will vary, thus a relative path is used.
slave-load-tmpdir= ../../tmp
loose-innodb
[ENV]
MASTER_MYPORT= @mysqld.1.port
MASTER_MYSOCK= @mysqld.1.socket
SLAVE_MYPORT= @mysqld.2.port
SLAVE_MYSOCK= @mysqld.2.socket
mysql-test/suite/rpl/t/rpl_ip_mix2_win.test
deleted
100644 → 0
View file @
7db8e764
# Copyright (C) 2009 SUN Microsystems
# All rights reserved. Use is subject to license terms.
# Author: Horst Hunger
# Nov. 19, 2009
# Test of ipv6 format, especially "change master host=..."
# Options: --skip-name-resolve, master: --bind-address=0.0.0.0, slave: --bind-address=::
# (see corresponding cnf file)
#
# Check if ipv6 is available. If not, server is crashing (see BUG#48915).
--
disable_query_log
--
disable_abort_on_error
connect
(
checkcon123456789
,
::
1
,
root
,,
test
,
$SLAVE_MYPORT
);
if
(
$mysql_errno
)
{
skip
wrong
IP
for
slave
;
}
connection
default
;
disconnect
checkcon123456789
;
--
enable_abort_on_error
--
enable_query_log
# end check
# For windows due to missing the mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
windows
.
inc
--
source
include
/
have_log_bin
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
::
1
/
128
;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ip_mix2.inc
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0001
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
0
:
0
:
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix2
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 mix #######################
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
);
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
);
--
echo
connect
(
slave
,
$IPv6
,
root
,,
test
,
SLAVE_MYPORT
);
connect
(
slave
,
$IPv6
,
root
,,
test
,
$SLAVE_MYPORT
);
--
echo
connection
master
;
connection
master
;
reset
master
;
source
include
/
show_master_status
.
inc
;
save_master_pos
;
--
echo
connection
slave
;
connection
slave
;
reset
slave
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0:0:0:0:0:0:1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
--
echo
disconnect
slave
;
disconnect
slave
;
--
echo
disconnect
master
;
disconnect
master
;
--
echo
connection
default
;
connection
default
;
--
exit
mysql-test/suite/rpl/t/rpl_ip_mix_win.cnf
deleted
100644 → 0
View file @
7db8e764
# Use default setting for mysqld processes
!include include/default_mysqld.cnf
!include include/default_client.cnf
[mysqld.1]
# Run the master.sh script before starting this process
#!run-master-sh
log-bin= master-bin
loose-innodb
skip-name-resolve
bind-address= ::
[mysqld.2]
# Run the slave.sh script before starting this process
#!run-slave-sh
# Append <testname>-slave.opt file to the list of argument used when
# starting the mysqld
#!use-slave-opt
log-bin= slave-bin
relay-log= slave-relay-bin
init-rpl-role= slave
log-slave-updates
master-retry-count= 10
# Values reported by slave when it connect to master
# and shows up in SHOW SLAVE STATUS;
report-host= localhost
report-port= @mysqld.2.port
report-user= root
skip-slave-start
skip-name-resolve
bind-address= 0.0.0.0
# Directory where slaves find the dumps generated by "load data"
# on the server. The path need to have constant length otherwise
# test results will vary, thus a relative path is used.
slave-load-tmpdir= ../../tmp
loose-innodb
[ENV]
MASTER_MYPORT= @mysqld.1.port
MASTER_MYSOCK= @mysqld.1.socket
SLAVE_MYPORT= @mysqld.2.port
SLAVE_MYSOCK= @mysqld.2.socket
mysql-test/suite/rpl/t/rpl_ip_mix_win.test
deleted
100644 → 0
View file @
7db8e764
# Copyright (C) 2009 SUN Microsystems
# All rights reserved. Use is subject to license terms.
# Author: Horst Hunger
# Nov. 19, 2009
# Test of ipv6 format, especially "change master host=..."
# Options: --skip-name-resolve, master: --bind-address=::, slave: --bind-address=0.0.0.0
# (see corresponding cnf file)
#
--
source
include
/
check_ipv6
.
inc
# For windows due to missing the mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
windows
.
inc
--
source
include
/
have_log_bin
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
::
1
/
128
;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ip_mix.inc
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0001
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
0
:
0
:
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ip_mix
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 mix #######################
--
echo
connect
(
master
,
$IPv6
,
root
,,
test
,
MASTER_MYPORT
);
connect
(
master
,
$IPv6
,
root
,,
test
,
$MASTER_MYPORT
);
--
echo
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
SLAVE_MYPORT
);
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
$SLAVE_MYPORT
);
--
echo
connection
master
;
connection
master
;
reset
master
;
source
include
/
show_master_status
.
inc
;
save_master_pos
;
--
echo
connection
slave
;
connection
slave
;
reset
slave
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0:0:0:0:0:0:1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
--
echo
disconnect
slave
;
disconnect
slave
;
--
echo
disconnect
master
;
disconnect
master
;
--
echo
connection
default
;
connection
default
;
--
exit
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6.test
View file @
718e1032
...
...
@@ -6,22 +6,7 @@
# Options: --skip-name-resolve, --bind-address=0.0.0.0 (see corresponding cnf file)
# for master and slave
#
# Check if ipv4 is available.
--
disable_query_log
--
disable_abort_on_error
connect
(
checkcon123456789
,
127.0
.
0.1
,
root
,,
test
);
if
(
$mysql_errno
)
{
skip
wrong
IP
;
}
connection
default
;
disconnect
checkcon123456789
;
--
enable_abort_on_error
--
enable_query_log
# end check
# Can't be tested with windows due to mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
not_windows
.
inc
--
source
include
/
have_ipv4_mapped
.
inc
--
source
include
/
have_log_bin
.
inc
let
$IPv6
=
127.0
.
0.1
;
...
...
@@ -56,7 +41,7 @@ let $IPv6= ::FFFF:127.0.0.1;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ipv6.inc
let
$IPv6
=
::
1
;
let
$IPv6
=
::
FFFF
:
127.0
.
0.
1
;
--
echo
#################### IP: $IPv6 ###########################
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
);
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
);
...
...
@@ -75,10 +60,10 @@ let $master_host= query_get_value(SHOW SLAVE STATUS, Master_Host, 1);
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'
::FFFF:
127.0.0.1'
;
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0
:0:0:0:0:0:
1'
;
eval
change
master
to
master_host
=
'0:0
000:0000:0:0000:FFFF:127.0.0.
1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
--
echo
disconnect
slave
;
...
...
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6_win.cnf
deleted
100644 → 0
View file @
7db8e764
# Use default setting for mysqld processes
!include include/default_mysqld.cnf
!include include/default_client.cnf
[mysqld.1]
# Run the master.sh script before starting this process
#!run-master-sh
log-bin= master-bin
loose-innodb
skip-name-resolve
bind-address= 0.0.0.0
[mysqld.2]
# Run the slave.sh script before starting this process
#!run-slave-sh
# Append <testname>-slave.opt file to the list of argument used when
# starting the mysqld
#!use-slave-opt
log-bin= slave-bin
relay-log= slave-relay-bin
init-rpl-role= slave
log-slave-updates
master-retry-count= 10
# Values reported by slave when it connect to master
# and shows up in SHOW SLAVE STATUS;
report-host= localhost
report-port= @mysqld.2.port
report-user= root
skip-slave-start
skip-name-resolve
bind-address= 0.0.0.0
# Directory where slaves find the dumps generated by "load data"
# on the server. The path need to have constant length otherwise
# test results will vary, thus a relative path is used.
slave-load-tmpdir= ../../tmp
loose-innodb
[ENV]
MASTER_MYPORT= @mysqld.1.port
MASTER_MYSOCK= @mysqld.1.socket
SLAVE_MYPORT= @mysqld.2.port
SLAVE_MYSOCK= @mysqld.2.socket
mysql-test/suite/rpl/t/rpl_ipv4_as_ipv6_win.test
deleted
100644 → 0
View file @
7db8e764
# Copyright (C) 2009 SUN Microsystems
# All rights reserved. Use is subject to license terms.
# Author: Horst Hunger
# Nov. 19, 2009
# Test of ipv4 (127.0.0.1) in ipv6 format, especially "change master host=..."
# Options: --skip-name-resolve, --bind-address=0.0.0.0 (see corresponding cnf file)
# for master and slave
#
# Check if ipv4 is available.
--
disable_query_log
--
disable_abort_on_error
connect
(
checkcon123456789
,
127.0
.
0.1
,
root
,,
test
);
if
(
$mysql_errno
)
{
skip
wrong
IP
;
}
connection
default
;
disconnect
checkcon123456789
;
--
enable_abort_on_error
--
enable_query_log
# end check
# For windows due to missing the mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
windows
.
inc
--
source
include
/
have_log_bin
.
inc
let
$IPv6
=
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 ###########################
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
);
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
);
--
echo
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
SLAVE_MYPORT
);
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
$SLAVE_MYPORT
);
--
echo
connection
master
;
connection
master
;
reset
master
;
source
include
/
show_master_status
.
inc
;
save_master_pos
;
--
echo
connection
slave
;
connection
slave
;
reset
slave
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0:0:0:0:0:0:1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
--
echo
disconnect
slave
;
disconnect
slave
;
--
echo
disconnect
master
;
disconnect
master
;
--
echo
connection
default
;
connection
default
;
--
exit
mysql-test/suite/rpl/t/rpl_ipv6.test
View file @
718e1032
...
...
@@ -27,38 +27,6 @@ let $IPv6= 0:0:0:0:0:0:0:1;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
0
:
0000
:
0000
:
0
:
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
0
::
0000
:
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
#let $IPv6= 0:0:0:0:0:FFFF:127.0.0.1/96;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ipv6.inc
let
$IPv6
=
::
FFFF
:
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
#let $IPv6= ::FFFF:127.0.0.1/96;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ipv6.inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 mix #######################
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
);
...
...
@@ -78,7 +46,7 @@ let $master_host= query_get_value(SHOW SLAVE STATUS, Master_Host, 1);
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'
::FFFF:
127.0.0.1'
;
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0:0:0:0:0:0:1'
;
...
...
mysql-test/suite/rpl/t/rpl_ipv6_win.cnf
deleted
100644 → 0
View file @
7db8e764
# Use default setting for mysqld processes
!include include/default_mysqld.cnf
!include include/default_client.cnf
[mysqld.1]
# Run the master.sh script before starting this process
#!run-master-sh
log-bin= master-bin
loose-innodb
skip-name-resolve
bind-address= ::
[mysqld.2]
# Run the slave.sh script before starting this process
#!run-slave-sh
# Append <testname>-slave.opt file to the list of argument used when
# starting the mysqld
#!use-slave-opt
log-bin= slave-bin
relay-log= slave-relay-bin
init-rpl-role= slave
log-slave-updates
master-retry-count= 10
# Values reported by slave when it connect to master
# and shows up in SHOW SLAVE STATUS;
report-host= localhost
report-port= @mysqld.2.port
report-user= root
skip-slave-start
skip-name-resolve
bind-address= ::
# Directory where slaves find the dumps generated by "load data"
# on the server. The path need to have constant length otherwise
# test results will vary, thus a relative path is used.
slave-load-tmpdir= ../../tmp
loose-innodb
[ENV]
MASTER_MYPORT= @mysqld.1.port
MASTER_MYSOCK= @mysqld.1.socket
SLAVE_MYPORT= @mysqld.2.port
SLAVE_MYSOCK= @mysqld.2.socket
mysql-test/suite/rpl/t/rpl_ipv6_win.test
deleted
100644 → 0
View file @
7db8e764
# Copyright (C) 2009 SUN Microsystems
# All rights reserved. Use is subject to license terms.
# Author: Horst Hunger
# Nov. 19, 2009
# Test of ipv6 format, especially "change master host=..."
# Options: --skip-name-resolve, --bind-address=:: (see corresponding cnf file)
# for master and slave.
#
--
source
include
/
check_ipv6
.
inc
# For windows due to missing the mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
windows
.
inc
--
source
include
/
have_log_bin
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
::
1
/
128
;
#--echo #################### IP: $IPv6 ###########################
#--source include/rpl_ipv6.inc
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0001
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
0
:
0
:
1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
127.0
.
0.1
;
--
echo
#################### IP: $IPv6 ###########################
--
source
include
/
rpl_ipv6
.
inc
let
$IPv6
=
::
1
;
--
echo
#################### IP: $IPv6 mix #######################
--
echo
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
MASTER_MYPORT
);
connect
(
master
,
127.0
.
0.1
,
root
,,
test
,
$MASTER_MYPORT
);
--
echo
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
SLAVE_MYPORT
);
connect
(
slave
,
127.0
.
0.1
,
root
,,
test
,
$SLAVE_MYPORT
);
--
echo
connection
master
;
connection
master
;
reset
master
;
source
include
/
show_master_status
.
inc
;
save_master_pos
;
--
echo
connection
slave
;
connection
slave
;
reset
slave
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'$IPv6'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'127.0.0.1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
eval
change
master
to
master_host
=
'0:0:0:0:0:0:0:1'
;
let
$master_host
=
query_get_value
(
SHOW
SLAVE
STATUS
,
Master_Host
,
1
);
--
echo
Master
-
Host
:
$master_host
--
echo
disconnect
slave
;
disconnect
slave
;
--
echo
disconnect
master
;
disconnect
master
;
--
echo
connection
default
;
connection
default
;
--
exit
mysql-test/t/ipv4_as_ipv6.test
View file @
718e1032
...
...
@@ -5,8 +5,7 @@
# Test of ipv4 (127.0.0.1) in ipv6 format
# Options: --skip-name-resolve, --bind-address=0.0.0.0 (see corresponding opt file).
#
# Can't be tested with windows due to mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
not_windows
.
inc
--
source
include
/
have_ipv4_mapped
.
inc
# Can't be tested with embedded server
--
source
include
/
not_embedded
.
inc
...
...
mysql-test/t/ipv4_as_ipv6_win-master.opt
deleted
100644 → 0
View file @
7db8e764
--skip-name-resolve --bind-address=0.0.0.0
mysql-test/t/ipv4_as_ipv6_win.test
deleted
100644 → 0
View file @
7db8e764
# Copyright (C) 2009 SUN Microsystems
# All rights reserved. Use is subject to license terms.
# Author: Horst Hunger
# Nov. 19, 2009
# Test of ipv4 (127.0.0.1) in ipv6 format
# Options: --skip-name-resolve, --bind-address=0.0.0.0 (see corresponding opt file).
#
# For windows due to missing the mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
windows
.
inc
# Can't be tested with embedded server
--
source
include
/
not_embedded
.
inc
# Save the initial number of concurrent sessions
--
source
include
/
count_sessions
.
inc
echo
=============
Test
of
'127.0.0.1'
(
IPv4
)
===========================
;
let
$IPv6
=
127.0
.
0.1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'::1'
========================
;
let
$IPv6
=
::
1
;
--
echo
connect
(
con1
,
$IPv6
,
root
,
,
test
,
MASTER_MYPORT
);
--
disable_query_log
--
error
2003
,
2006
connect
(
con1
,
$IPv6
,
root
,
,
test
,
$MASTER_MYPORT
);
--
enable_query_log
connection
default
;
# Wait till all disconnects are completed
--
source
include
/
wait_until_count_sessions
.
inc
mysql-test/t/ipv6.test
View file @
718e1032
...
...
@@ -6,9 +6,6 @@
# Options: --skip-name-resolve, --bind-address=:: (see corresponding opt file).
#
--
source
include
/
check_ipv6
.
inc
# Can't be tested with windows due to the mixed format like 0:0:0:0:0:FFFF:127.0.0.1
--
source
include
/
not_windows
.
inc
# Can't be tested with embedded server
--
source
include
/
not_embedded
.
inc
...
...
@@ -35,45 +32,5 @@ let $IPv6= 0:0:0:0:0:0:0:1;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'127.0.0.1'
(
IPv4
)
===========================
;
let
$IPv6
=
127.0
.
0.1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'0:0:0:0:0:FFFF:127.0.0.1'
===================
;
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
FFFF
:
127.0
.
0.1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'0000:0000:0000:0000:0000:FFFF:127.0.0.1'
====
;
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
FFFF
:
127.0
.
0.1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'0:0000:0000:0:0000:FFFF:127.0.0.1'
====
;
let
$IPv6
=
0
:
0000
:
0000
:
0
:
0000
:
FFFF
:
127.0
.
0.1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'0::0000:FFFF:127.0.0.1'
====
;
let
$IPv6
=
0
::
0000
:
FFFF
:
127.0
.
0.1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'0:0:0:0:0:FFFF:127.0.0.1/96'
================
;
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
FFFF
:
127.0
.
0.1
/
96
;
#--source include/ipv6_clients.inc
#--source include/ipv6.inc
echo
=============
Test
of
'::FFFF:127.0.0.1'
===========================
;
let
$IPv6
=
::
FFFF
:
127.0
.
0.1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'::FFFF:127.0.0.1/96'
========================
;
let
$IPv6
=
::
FFFF
:
127.0
.
0.1
/
96
;
#--source include/ipv6_clients.inc
#--source include/ipv6.inc
# Wait till all disconnects are completed
--
source
include
/
wait_until_count_sessions
.
inc
mysql-test/t/ipv6_win-master.opt
deleted
100644 → 0
View file @
7db8e764
--skip-name-resolve --bind-address=::
mysql-test/t/ipv6_win.test
deleted
100644 → 0
View file @
7db8e764
# Copyright (C) 2009 SUN Microsystems
# All rights reserved. Use is subject to license terms.
# Author: Horst Hunger
# Nov. 19, 2009
# Test of ipv6 format
# Options: --skip-name-resolve, --bind-address=:: (see corresponding opt file).
#
--
source
include
/
check_ipv6
.
inc
# For windows due to missing the mixed format like 0::0000:FFFF:127.0.0.1
--
source
include
/
windows
.
inc
# Can't be tested with embedded server
--
source
include
/
not_embedded
.
inc
# Save the initial number of concurrent sessions
--
source
include
/
count_sessions
.
inc
echo
=============
Test
of
'::1'
========================================
;
let
$IPv6
=
::
1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'::1/128'
====================================
;
let
$IPv6
=
::
1
/
128
;
#--source include/ipv6_clients.inc
#--source include/ipv6.inc
echo
=============
Test
of
'0000:0000:0000:0000:0000:0000:0000:0001'
====
;
let
$IPv6
=
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0000
:
0001
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
echo
=============
Test
of
'0:0:0:0:0:0:0:1'
============================
;
let
$IPv6
=
0
:
0
:
0
:
0
:
0
:
0
:
0
:
1
;
--
source
include
/
ipv6_clients
.
inc
--
source
include
/
ipv6
.
inc
# Wait till all disconnects are completed
--
source
include
/
wait_until_count_sessions
.
inc
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