3 # If $binlog_start is not set, we will set it as the second event's
4 # position. The first event(Description Event) is always ignored. For
5 # description event's length might be changed because of adding new events,
6 # 'SHOW BINLOG EVENTS LIMIT 1' is used to get the right value.
7 --let $binlog_start= query_get_value(SHOW BINLOG EVENTS LIMIT 1, End_log_pos, 1)
9 --replace_result $binlog_start <binlog_start>
10 --replace_column 2 # 5 #
11 --replace_regex /\/\* xid=.* \*\
12 --eval show binlog events from $binlog_start