Commit 9541dd83 authored by unknown's avatar unknown

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
parent b308fe3b
...@@ -892,10 +892,7 @@ innobase_commit_low( ...@@ -892,10 +892,7 @@ innobase_commit_low(
{ {
if (current_thd->slave_thread) { if (current_thd->slave_thread) {
/* Update the replication position info inside InnoDB */ /* 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 trx->mysql_master_log_file_name
= active_mi->rli.master_log_name; = active_mi->rli.master_log_name;
trx->mysql_master_log_pos = ((ib_longlong) trx->mysql_master_log_pos = ((ib_longlong)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment