MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
io_thd_fault_injection.inc
1 #
2 # Takes the flag as an argument:
3 # -- let $io_thd_injection_fault_flag=+d,fault_injection_new_file_rotate_event
4 # -- source include/io_thd_fault_injection.inc
5 #
6 
7 SET @old_debug=@@global.debug;
8 -- disable_warnings
9 -- source include/stop_slave.inc
10 -- enable_warnings
11 -- eval SET GLOBAL debug="+d,$io_thd_injection_fault_flag"
12 
13 START SLAVE io_thread;
14 -- source include/wait_for_slave_io_error.inc
15 
16 -- eval SET GLOBAL debug="-d,$io_thd_injection_fault_flag"
17 SET GLOBAL debug=@old_debug;
18 
19 # restart because slave is in bad shape
20 --let $rpl_server_number= 2
21 --source include/rpl_restart_server.inc