--source include/have_wsrep.inc --echo # --echo # wsrep_node_address --echo # --echo # save the initial value SET @wsrep_node_address_global_saved = @@global.wsrep_node_address; --echo # default SELECT @@global.wsrep_node_address; --echo --echo # scope --error ER_INCORRECT_GLOBAL_LOCAL_VAR SELECT @@session.wsrep_node_address; SELECT @@global.wsrep_node_address; --echo --echo # valid values SET @@global.wsrep_node_address='127.0.0.1'; SELECT @@global.wsrep_node_address; # default == '' SET @@global.wsrep_node_address=default; SELECT @@global.wsrep_node_address; --echo --echo # invalid values --error ER_WRONG_VALUE_FOR_VAR SET @@global.wsrep_node_address=NULL; SELECT @@global.wsrep_node_address; # The values being assigned to wsrep_node_address are not verified so the # following alues are currently valid too. SET @@global.wsrep_node_address=ON; SELECT @@global.wsrep_node_address; SET @@global.wsrep_node_address='OFF'; SELECT @@global.wsrep_node_address; SET @@global.wsrep_node_address='junk'; SELECT @@global.wsrep_node_address; --echo --echo # restore the initial value SET @@global.wsrep_node_address = @wsrep_node_address_global_saved; --echo # End of test