diff options
author | unknown <heikki@hundin.mysql.fi> | 2003-03-04 19:06:40 +0200 |
---|---|---|
committer | unknown <heikki@hundin.mysql.fi> | 2003-03-04 19:06:40 +0200 |
commit | 9541dd83c6f56843f21c4045dc411263e8d408e1 (patch) | |
tree | f4b60b3122b72c255894b8a8ba3f6c6b461a6c7b /sql | |
parent | b308fe3b595e1961f7ecd29cfc3b0cc60ea4b5d8 (diff) | |
download | mariadb-git-9541dd83c6f56843f21c4045dc411263e8d408e1.tar.gz |
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
Diffstat (limited to 'sql')
-rw-r--r-- | sql/ha_innodb.cc | 5 |
1 files changed, 1 insertions, 4 deletions
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) |