mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
26 lines
570 B
Text
26 lines
570 B
Text
--source include/have_wsrep.inc
|
|
|
|
--echo #
|
|
--echo # wsrep_recover
|
|
--echo #
|
|
|
|
--echo # default
|
|
SELECT @@global.wsrep_recover;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
SELECT @@session.wsrep_recover;
|
|
|
|
--echo
|
|
--echo # scope and valid values
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
SET @@global.wsrep_recover=OFF;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
SET @@global.wsrep_recover=ON;
|
|
|
|
--echo
|
|
--echo # invalid values
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
SET @@global.wsrep_recover=NULL;
|
|
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
|
|
SET @@global.wsrep_recover='junk';
|
|
|
|
--echo # End of test
|