Debian Codegraph @

mysql-test/suite/galera/t/galera_defaults.test

raw
1 #
2 # The purpose of this test is to preserve the current state of the following:
3 # * SHOW VARIABLES LIKE 'wsrep%'
4 # * The names of the Galera status variables
5 #
6 # Note that wsrep_provider_options contains paths and other non-deterministic parts
7 #
8 # This way, if there is any change, inadvertent or not, the test will fail and the
9 # developer and QA will be alerted.
10 #
11
12 --source include/galera_cluster.inc
13 --source include/force_restart.inc
14
15 # Make sure that the test is operating on the right version of galera library.
16 --let $galera_version=26.4.23
17 source ../wsrep/include/check_galera_version.inc;
18
19 # Global Variables
20
21 SELECT COUNT(*) `expect 49` FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME LIKE 'wsrep_%';
22
23 SELECT VARIABLE_NAME, VARIABLE_VALUE
24 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
25 WHERE VARIABLE_NAME LIKE 'wsrep_%'
26 AND VARIABLE_NAME NOT IN (
27 'WSREP_PROVIDER_OPTIONS',
28 'WSREP_SST_RECEIVE_ADDRESS',
29 'WSREP_NODE_ADDRESS',
30 'WSREP_NODE_NAME',
31 'WSREP_PROVIDER',
32 'WSREP_DATA_HOME_DIR',
33 'WSREP_NODE_INCOMING_ADDRESS',
34 'WSREP_START_POSITION',
35 'WSREP_PATCH_VERSION'
36 )
37 ORDER BY VARIABLE_NAME;