1# ==== Purpose ====
2#
3# Removes the functions created by sourcing gr_autorejoin_monitoring.inc and
4# disables thread stage events for the auto-rejoin process.
5#
6# Should be sourced at the end of a test that also sourced
7# gr_autorejoin_monitoring.inc
8#
9# ==== Usage ====
10#
11# --source include/gr_end_autorejoin_monitoring.inc
12#
13--let $include_filename = gr_end_autorejoin_monitoring.inc
14--source include/begin_include_file.inc
15
16--disable_query_log
17SET SESSION sql_log_bin = 0;
18
19DROP FUNCTION IS_AUTOREJOIN_RUNNING;
20DROP FUNCTION GET_NUMBER_RETRIES;
21DROP FUNCTION GET_TIME_UNTIL_NEXT_RETRY;
22DROP FUNCTION GET_LAST_AUTOREJOIN;
23DROP FUNCTION GET_COUNT_AUTOREJOIN;
24
25SET SESSION sql_log_bin = 1;
26--enable_query_log
27
28--let $include_filename = gr_end_autorejoin_monitoring.inc
29--source include/end_include_file.inc
30