From 9541dd83c6f56843f21c4045dc411263e8d408e1 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 4 Mar 2003 19:06:40 +0200 Subject: 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 --- sql/ha_innodb.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sql') diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 1c6de24ed75..d07c015f73e 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -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) -- cgit v1.2.1