| 1 |
# |
| 2 |
# Check the handling of @@wsrep_sst_receive_address |
| 3 |
# |
| 4 |
|
| 5 |
--source include/galera_cluster.inc |
| 6 |
|
| 7 |
--connection node_1 |
| 8 |
SET @sst_receive_address_orig=@@GLOBAL.wsrep_sst_receive_address; |
| 9 |
--error ER_WRONG_VALUE_FOR_VAR |
| 10 |
set global wsrep_sst_receive_address='127.0.0.1;'; |
| 11 |
--error ER_WRONG_VALUE_FOR_VAR |
| 12 |
set global wsrep_sst_receive_address='127.0.0.1\''; |
| 13 |
--error ER_WRONG_VALUE_FOR_VAR |
| 14 |
set global wsrep_sst_receive_address='127.0.0.1&'; |
| 15 |
--error ER_WRONG_VALUE_FOR_VAR |
| 16 |
set global wsrep_sst_receive_address='127.0.0.1|'; |
| 17 |
|
| 18 |
set global wsrep_sst_receive_address=NULL; |
| 19 |
set global wsrep_sst_receive_address=''; |
| 20 |
set global wsrep_sst_receive_address='127.0.0.1:19000'; |
| 21 |
|
| 22 |
--disable_query_log |
| 23 |
SET GLOBAL wsrep_sst_receive_address = @sst_receive_address_orig; |
| 24 |
--enable_query_log |
| 25 |
|
| 26 |
--source include/galera_end.inc |