| 1 |
--source include/have_wsrep.inc |
| 2 |
--source include/have_innodb.inc |
| 3 |
|
| 4 |
SELECT @@wsrep_on; |
| 5 |
|
| 6 |
SET @wsrep_debug_saved = @@global.wsrep_debug; |
| 7 |
|
| 8 |
SET SESSION wsrep_trx_fragment_size=DEFAULT; |
| 9 |
SELECT @@session.wsrep_trx_fragment_size; |
| 10 |
--error ER_WRONG_VALUE_FOR_VAR |
| 11 |
SET GLOBAL wsrep_start_position='12345678-1234-1234-1234-123456789012:100'; |
| 12 |
SHOW WARNINGS; |
| 13 |
SELECT @@global.wsrep_start_position; |
| 14 |
SET GLOBAL wsrep_debug=1; |
| 15 |
SELECT @@global.wsrep_debug; |
| 16 |
--error ER_WRONG_ARGUMENTS |
| 17 |
SET GLOBAL wsrep_slave_threads=5; |
| 18 |
SELECT @@global.wsrep_slave_threads; |
| 19 |
--error ER_WRONG_ARGUMENTS |
| 20 |
SET GLOBAL wsrep_desync=1; |
| 21 |
SELECT @@global.wsrep_desync; |
| 22 |
--error ER_WRONG_VALUE_FOR_VAR |
| 23 |
SET SESSION wsrep_trx_fragment_unit='rows'; |
| 24 |
SHOW WARNINGS; |
| 25 |
SELECT @@session.wsrep_trx_fragment_unit; |
| 26 |
|
| 27 |
--disable_query_log |
| 28 |
SET @@global.wsrep_debug = @wsrep_debug_saved; |
| 29 |
--enable_query_log |