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

Method before_binlog_init

phx_percona/percona/sql/rpl_handler.cc:268–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268int Binlog_storage_delegate::before_binlog_init(THD * thd,
269 const char * server_uuid,
270 PSI_file_key * key_file_binlog_index,
271 const char * log_bin_index )
272{
273 DBUG_ENTER("Binlog_storage_delegate::before_binlog_init");
274 Binlog_storage_param param;
275
276 int ret= 0;
277 FOREACH_OBSERVER(ret, before_binlog_init, thd, (&param, server_uuid, key_file_binlog_index, log_bin_index));
278 DBUG_RETURN(ret);
279}
280
281#ifdef HAVE_REPLICATION
282int Binlog_transmit_delegate::transmit_start(THD *thd, ushort flags,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected