diff options
author | dlenev@mysql.com <> | 2003-08-20 03:38:31 +0400 |
---|---|---|
committer | dlenev@mysql.com <> | 2003-08-20 03:38:31 +0400 |
commit | bb96092202781f33cefe63c7f1290bfad39463e8 (patch) | |
tree | 0a3c8f9aa8f5e896442645fcead2090909683c4f /sql/slave.cc | |
parent | 6e32e19047a745b465f7b169966a7112e2d12047 (diff) | |
download | mariadb-git-bb96092202781f33cefe63c7f1290bfad39463e8.tar.gz |
Fix for BUG#1086. Now we don't preserve event's log_pos through
log-slave-updates since this causes unexpected values in
Exec_master_log_pos in A->B->C replication setup, synchronization
problems in master_pos_wait()...
Still this brokes some functionality in sql/repl_failsafe.cc
(but this file is not used now)
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 85a9bc0d49e..145144072c9 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -2253,7 +2253,6 @@ static int exec_relay_log_event(THD* thd, RELAY_LOG_INFO* rli) if (!ev->when) ev->when = time(NULL); ev->thd = thd; - thd->log_pos = ev->log_pos; exec_res = ev->exec_event(rli); DBUG_ASSERT(rli->sql_thd==thd); delete ev; |