Debian Codegraph @

mysql-test/suite/rpl/t/rpl_removed_status_vars.test

raw
1 # ==== Purpose ====
2 #
3 # Verify that status variables removed in 8.0 are actually removed.
4 #
5 # ==== Requirements ====
6 #
7 # R1. The following status variables should not exist:
8 # Slave_running
9 # Slave_retried_transactions
10 # Slave_heartbeat_period
11 # Slave_received_heartbeats
12 # Slave_last_heartbeat
13 #
14 # ==== Implementation ====
15 #
16 # Show each of those variables.
17 # Verify that the result file is empty.
18 #
19 # ==== References ====
20 #
21 # BUG#32709065: REMOVE DEAD CODE FOR REMOVED REPLICATION STATUS VARIABLES
22 #
23 # Note: the test passes before *and* after the bugfix. The test may be
24 # executed without the bugfix to verify the correctness of the
25 # assumption of the bugfix: that the code we remove actually was not
26 # used.
27
28 SHOW STATUS LIKE 'Slave_running';
29 SHOW STATUS LIKE 'Slave_retried_transactions';
30 SHOW STATUS LIKE 'Slave_heartbeat_period';
31 SHOW STATUS LIKE 'Slave_received_heartbeats';
32 SHOW STATUS LIKE 'Slave_last_heartbeat';