3 # Execute a .inc file once for each server that was configured as a
4 # slave by rpl_init.inc
9 # --let $rpl_source_file
10 # [--let $rpl_debug= 1]
11 # --source include/rpl_for_each_slave.inc
15 # The file that will be sourced.
18 # See include/rpl_init.inc
21 --let $include_filename= rpl_for_each_file.inc [$rpl_source_file]
22 --source include/begin_include_file.inc
25 while ($_rpl_server <= $rpl_server_count)
27 --let $_rpl_has_master= `SELECT SUBSTRING(
'$rpl_master_list', 1 + ($_rpl_server - 1) * $rpl_server_count_length, $rpl_server_count_length) !=
''`
30 --let $rpl_connection_name= server_$_rpl_server
31 --source include/rpl_connection.inc
32 --source $rpl_source_file
38 --let $include_filename= rpl_for_each_file.inc [$rpl_source_file]
39 --source include/end_include_file.inc