mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-6699: wsrep_node_name not automatically set to hostname
Update sys_vars.sysvars_wsrep test.
This commit is contained in:
parent
a6816995ee
commit
47e4e5dfd9
2 changed files with 4 additions and 3 deletions
|
@ -311,9 +311,9 @@ READ_ONLY NO
|
|||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME WSREP_NODE_NAME
|
||||
SESSION_VALUE NULL
|
||||
GLOBAL_VALUE
|
||||
GLOBAL_VALUE HOSTNAME
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE
|
||||
DEFAULT_VALUE HOSTNAME
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE VARCHAR
|
||||
VARIABLE_COMMENT Node name
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
--source include/have_wsrep.inc
|
||||
--source include/word_size.inc
|
||||
--let $datadir = `SELECT @@datadir`
|
||||
--let $hostname = `SELECT @@hostname`
|
||||
|
||||
--replace_result $datadir DATADIR
|
||||
--replace_result $datadir DATADIR $hostname HOSTNAME
|
||||
--vertical_results
|
||||
select * from information_schema.system_variables
|
||||
where variable_name like 'wsrep%'
|
||||
|
|
Loading…
Reference in a new issue