MCPcopy Create free account
hub / github.com/Tencent/phxsql / after_send_event

Method after_send_event

phx_percona/percona/sql/rpl_handler.cc:380–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380int Binlog_transmit_delegate::after_send_event(THD *thd, ushort flags,
381 String *packet,
382 const char *skipped_log_file,
383 my_off_t skipped_log_pos)
384{
385 Binlog_transmit_param param;
386 param.flags= flags;
387
388 DBUG_EXECUTE_IF("crash_binlog_transmit_hook", DBUG_SUICIDE(););
389
390 int ret= 0;
391 FOREACH_OBSERVER(ret, after_send_event, thd,
392 (&param, packet->c_ptr(), packet->length(),
393 skipped_log_file+dirname_length(skipped_log_file),
394 skipped_log_pos));
395 return ret;
396}
397
398int Binlog_transmit_delegate::after_reset_master(THD *thd, ushort flags)
399

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected