| 360 | } |
| 361 | |
| 362 | int Binlog_transmit_delegate::before_send_event(THD *thd, ushort flags, |
| 363 | String *packet, |
| 364 | const char *log_file, |
| 365 | my_off_t log_pos) |
| 366 | { |
| 367 | Binlog_transmit_param param; |
| 368 | param.flags= flags; |
| 369 | |
| 370 | DBUG_EXECUTE_IF("crash_binlog_transmit_hook", DBUG_SUICIDE();); |
| 371 | |
| 372 | int ret= 0; |
| 373 | FOREACH_OBSERVER(ret, before_send_event, thd, |
| 374 | (¶m, (uchar *)packet->c_ptr(), |
| 375 | packet->length(), |
| 376 | log_file+dirname_length(log_file), log_pos)); |
| 377 | return ret; |
| 378 | } |
| 379 | |
| 380 | int Binlog_transmit_delegate::after_send_event(THD *thd, ushort flags, |
| 381 | String *packet, |
nothing calls this directly
no outgoing calls
no test coverage detected