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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f2518f3d
Commit
f2518f3d
authored
Jan 25, 2019
by
Jan Lindström
Committed by
GitHub
Jan 25, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1136 from tempesta-tech/sysprg/MDEV-18379
MDEV-18379: Unification of check for IPv6
parents
45c47a04
a22dc626
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
19 deletions
+8
-19
mysql-test/suite/galera_3nodes/include/have_ipv6.inc
mysql-test/suite/galera_3nodes/include/have_ipv6.inc
+0
-15
mysql-test/suite/galera_3nodes/r/GAL-501.result
mysql-test/suite/galera_3nodes/r/GAL-501.result
+3
-0
mysql-test/suite/galera_3nodes/t/GAL-501.opt
mysql-test/suite/galera_3nodes/t/GAL-501.opt
+1
-0
mysql-test/suite/galera_3nodes/t/GAL-501.test
mysql-test/suite/galera_3nodes/t/GAL-501.test
+1
-1
mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.test
...l-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.test
+1
-1
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
+1
-1
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync.test
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync.test
+1
-1
No files found.
mysql-test/suite/galera_3nodes/include/have_ipv6.inc
deleted
100644 → 0
View file @
45c47a04
# Check if ipv6 is available.
#
--
disable_query_log
--
disable_result_log
connect
(
checkcon123456789
,
::
1
,
root
,,
test
);
if
(
$mysql_errno
)
{
skip
No
IPv6
support
;
}
connection
default
;
disconnect
checkcon123456789
;
--
enable_result_log
--
enable_query_log
# end check
mysql-test/suite/galera_3nodes/r/GAL-501.result
View file @
f2518f3d
...
...
@@ -4,9 +4,12 @@ VARIABLE_VALUE LIKE '%[::1]%'
SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
VARIABLE_VALUE = 3
1
connection node_2;
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
connection node_1;
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
INSERT INTO t1 VALUES (1);
connection node_2;
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
SELECT COUNT(*) = 1 FROM t1;
COUNT(*) = 1
...
...
mysql-test/suite/galera_3nodes/t/GAL-501.opt
0 → 100644
View file @
f2518f3d
--bind-address=::
mysql-test/suite/galera_3nodes/t/GAL-501.test
View file @
f2518f3d
...
...
@@ -5,7 +5,7 @@
# ist.recv_addr=[::1]
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have
_ipv6
.
inc
--
source
include
/
check
_ipv6
.
inc
# Confirm that initial handshake happened over ipv6
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_mariabackup.test
View file @
f2518f3d
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have
_ipv6
.
inc
--
source
include
/
check
_ipv6
.
inc
--
source
include
/
have_mariabackup
.
inc
# Confirm that initial handshake happened over ipv6
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_mysqldump.test
View file @
f2518f3d
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have
_ipv6
.
inc
--
source
include
/
check
_ipv6
.
inc
call
mtr
.
add_suppression
(
"WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to'"
);
call
mtr
.
add_suppression
(
"Failed to load slave replication state from table mysql.gtid_slave_pos"
);
...
...
mysql-test/suite/galera_3nodes/t/galera_ipv6_rsync.test
View file @
f2518f3d
--
source
include
/
galera_cluster
.
inc
--
source
include
/
have
_ipv6
.
inc
--
source
include
/
check
_ipv6
.
inc
# Confirm that initial handshake happened over ipv6
...
...
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