mysql-test/suite/rpl/include/rpl_show_binlog_events.inc
raw| 1 | # Include file for rpl_show_relaylog_events.inc |
| 2 | |
| 3 | --let $log_type= BINLOG |
| 4 | if ($is_relay_log) { |
| 5 | --let $log_type= RELAYLOG |
| 6 | } |
| 7 | --let $args= |
| 8 | if ($binlog_file != '') { |
| 9 | --let $args= IN <FILE> |
| 10 | } |
| 11 | if ($binlog_limit) { |
| 12 | --let $args= $args LIMIT $binlog_limit |
| 13 | } |
| 14 | --echo ******** [$CURRENT_CONNECTION] SHOW $log_type EVENTS $args ******** |
| 15 | --source include/show_events.inc |
| 16 | |
| 17 |