Skip to content

Commit 47e4e5d

Browse files
author
Nirbhay Choubey
committed
MDEV-6699: wsrep_node_name not automatically set to hostname
Update sys_vars.sysvars_wsrep test.
1 parent a681699 commit 47e4e5d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

mysql-test/suite/sys_vars/r/sysvars_wsrep.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,9 @@ READ_ONLY NO
311311
COMMAND_LINE_ARGUMENT REQUIRED
312312
VARIABLE_NAME WSREP_NODE_NAME
313313
SESSION_VALUE NULL
314-
GLOBAL_VALUE
314+
GLOBAL_VALUE HOSTNAME
315315
GLOBAL_VALUE_ORIGIN COMPILE-TIME
316-
DEFAULT_VALUE
316+
DEFAULT_VALUE HOSTNAME
317317
VARIABLE_SCOPE GLOBAL
318318
VARIABLE_TYPE VARCHAR
319319
VARIABLE_COMMENT Node name

mysql-test/suite/sys_vars/t/sysvars_wsrep.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
--source include/have_wsrep.inc
22
--source include/word_size.inc
33
--let $datadir = `SELECT @@datadir`
4+
--let $hostname = `SELECT @@hostname`
45

5-
--replace_result $datadir DATADIR
6+
--replace_result $datadir DATADIR $hostname HOSTNAME
67
--vertical_results
78
select * from information_schema.system_variables
89
where variable_name like 'wsrep%'

0 commit comments

Comments
 (0)