3 # Auxiliary file used by main.mysqlbinlog-start-stop.
5 # This file runs mysqlbinlog with a fixed set of parameters specifying
6 # the source binlog, but varying how the start and stop positions are
11 # --let $start_position= <binlog offset>
12 # --let $stop_position= <binlog offset>
13 # --let $start_datetime= <timestamp>
14 # --let $stop_datetime= <timestamp>
15 # --let $extra_options= <options to mysqlbinlog>
16 # --source extra/binlog_tests/mysqlbinlog_start_stop_1.inc
20 # Offset to pass to --start-position
22 # Offset to pass to --stop-position
24 # Offset to pass to --start-datetime
26 # Offset to pass to --stop-datetime
28 # Options for mysqlbinlog, specifying which input file to read.
30 --let $option= --base64-output=never
31 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc
34 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc
36 --let $option= --start-position=$start_position
37 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc
39 --let $option= --stop-position=$stop_position
40 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc
42 --let $option= --start-position=$start_position --stop-position=$stop_position
43 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc
45 --let $option=
"--start-datetime=$start_datetime"
46 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc
48 --let $option=
"--stop-datetime=$stop_datetime"
49 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc
51 --let $option=
"--start-datetime=$start_datetime" "--stop-datetime=$stop_datetime"
52 --source
extra/binlog_tests/mysqlbinlog_start_stop_2.inc