MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sync_slave_sql_with_io.inc
1 # ==== Purpose ====
2 #
3 # Sync the slave SQL thread with the IO thread on the current connection.
4 #
5 # ==== Usage ====
6 #
7 # [--let $use_gtids= 1]
8 # [--let $slave_timeout= NUMBER]
9 # [--let $rpl_debug= 1]
10 # --source include/sync_slave_sql_with_io.inc
11 #
12 # Parameters:
13 #
14 # $use_gtids
15 # If set, uses GTIDs instead of filename and offset for positions.
16 #
17 # $slave_timeout
18 # By default, the synchronization timeouts after 300 seconds. If
19 # $slave_timeout is set, the synchronization timeouts after
20 # $slave_timeout seconds.
21 #
22 # $rpl_debug
23 # See include/rpl_init.inc
24 
25 
26 --let $include_filename= sync_slave_sql_with_io.inc
27 --source include/begin_include_file.inc
28 
29 --source include/save_io_thread_pos.inc
30 --source include/sync_slave_sql.inc
31 
32 --let $include_filename= sync_slave_sql_with_io.inc
33 --source include/end_include_file.inc