summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2002-02-07 15:29:46 -0700
committersasha@mysql.sashanet.com <>2002-02-07 15:29:46 -0700
commit6980a24e9de6dc84e3e0621377086a0673d98bc4 (patch)
treed9192c46a4eb4d83decc75bbeac94c01eba13040 /sql/repl_failsafe.cc
parentb9637dae053aa8525fd4bf8c2e6c55c35474edd2 (diff)
downloadmariadb-git-6980a24e9de6dc84e3e0621377086a0673d98bc4.tar.gz
fixes for slave backward compat
fixed bug in LOAD DATA FROM MASTER fixed rpl000001.result Slave now replicates 3.23 master, with the exception of LOAD DATA INFILE, which is still buggy. Will push this one after the pull/merge
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index 6cc7ef7404b..257418d1682 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -828,6 +828,7 @@ int load_master_data(THD* thd)
active_mi->rli.master_log_pos = active_mi->master_log_pos;
strnmov(active_mi->rli.master_log_name,active_mi->master_log_name,
sizeof(active_mi->rli.master_log_name));
+ flush_relay_log_info(&active_mi->rli);
pthread_cond_broadcast(&active_mi->rli.data_cond);
pthread_mutex_unlock(&active_mi->rli.data_lock);
thd->proc_info = "starting slave";