| 1 |
# |
| 2 |
# wsrep_recover |
| 3 |
# |
| 4 |
# default |
| 5 |
SELECT @@global.wsrep_recover; |
| 6 |
@@global.wsrep_recover |
| 7 |
0 |
| 8 |
SELECT @@session.wsrep_recover; |
| 9 |
ERROR HY000: Variable 'wsrep_recover' is a GLOBAL variable |
| 10 |
|
| 11 |
# scope and valid values |
| 12 |
SET @@global.wsrep_recover=OFF; |
| 13 |
ERROR HY000: Variable 'wsrep_recover' is a read only variable |
| 14 |
SET @@global.wsrep_recover=ON; |
| 15 |
ERROR HY000: Variable 'wsrep_recover' is a read only variable |
| 16 |
|
| 17 |
# invalid values |
| 18 |
SET @@global.wsrep_recover=NULL; |
| 19 |
ERROR HY000: Variable 'wsrep_recover' is a read only variable |
| 20 |
SET @@global.wsrep_recover='junk'; |
| 21 |
ERROR HY000: Variable 'wsrep_recover' is a read only variable |
| 22 |
# End of test |