MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cleanup_fake_relay_log.inc
1 # ==== Purpose ====
2 #
3 # Clean up files created by setup_fake_relay_log.inc.
4 #
5 # ==== Usage ====
6 #
7 # See setup_fake_relay_log.inc
8 
9 --let $include_filename= cleanup_fake_relay_log.inc
10 --source include/begin_include_file.inc
11 
12 
13 --disable_query_log
14 RESET SLAVE;
15 
16 # Assert that the fake relay log files are gone (RESET SLAVE should
17 # have removed them).
18 --let $file_does_not_exist= $_fake_relay_log
19 --source include/file_does_not_exist.inc
20 
21 # Revert variables.
22 eval SET @@global.relay_log_purge= $_fake_relay_log_purge;
23 
24 eval CHANGE MASTER TO MASTER_HOST = '$_fake_old_master_host';
25 
26 
27 --let $include_filename= cleanup_fake_relay_log.inc
28 --source include/end_include_file.inc