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

Method init_param

phx_percona/percona/sql/rpl_handler.cc:409–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void Binlog_relay_IO_delegate::init_param(Binlog_relay_IO_param *param,
410 Master_info *mi)
411{
412 param->mysql= mi->mysql;
413 param->user= const_cast<char *>(mi->get_user());
414 param->host= mi->host;
415 param->port= mi->port;
416 param->master_log_name= const_cast<char *>(mi->get_master_log_name());
417 param->master_log_pos= mi->get_master_log_pos();
418}
419
420int Binlog_relay_IO_delegate::thread_start(THD *thd, Master_info *mi)
421{

Callers

nothing calls this directly

Calls 1

get_userMethod · 0.80

Tested by

no test coverage detected