ha_innodb.cc:
Remove (already commented out) code about storing the latest relay log pos info to InnoDB: we will probably use only the master log pos info when we restart a slave after a crash sql/ha_innodb.cc: Remove (already commented out) code about storing the latest relay log pos info to InnoDB: we will probably use only the master log pos info when we restart a slave after a crash
This commit is contained in:
parent
b308fe3b59
commit
9541dd83c6
@ -892,10 +892,7 @@ innobase_commit_low(
|
||||
{
|
||||
if (current_thd->slave_thread) {
|
||||
/* Update the replication position info inside InnoDB */
|
||||
#ifdef NEED_TO_BE_FIXED
|
||||
trx->mysql_relay_log_file_name = active_mi->rli.log_file_name;
|
||||
trx->mysql_relay_log_pos = active_mi->rli.relay_log_pos;
|
||||
#endif
|
||||
|
||||
trx->mysql_master_log_file_name
|
||||
= active_mi->rli.master_log_name;
|
||||
trx->mysql_master_log_pos = ((ib_longlong)
|
||||
|
Loading…
x
Reference in New Issue
Block a user