diff options
author | unknown <lars@mysql.com/black.(none)> | 2006-10-31 12:23:14 +0100 |
---|---|---|
committer | unknown <lars@mysql.com/black.(none)> | 2006-10-31 12:23:14 +0100 |
commit | 69d92fb1894df05df80a03fa1b2d80cbe16450e3 (patch) | |
tree | 0584ef2139b064ede7df1f13ef4aac8d83c09faf /sql/repl_failsafe.cc | |
parent | b7d43470becf7af9ed69073209cc9781488afe9a (diff) | |
download | mariadb-git-69d92fb1894df05df80a03fa1b2d80cbe16450e3.tar.gz |
Refactoring: Moved rli code to new file rpl_rli.cc. The idea being that rli
should be a separate module (i.e. a class) to make it easier to maintain the
code, e.g. by having checks within the rli checking sanity of data and making
member variables private. This will also ease implementation of multi-source
and, at least in my fantasies :), make it possible in some future to have
separate replication servers.
sql/Makefile.am:
Added file rpl_rli.cc
sql/repl_failsafe.cc:
Move function
sql/rpl_rli.h:
moved functions
sql/slave.cc:
Moved rli code into rpl_rli.cc
sql/sql_repl.cc:
Changed function to be member function
sql/rpl_rli.cc:
Code for rli
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r-- | sql/repl_failsafe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc index 66e2aa1c31c..2b034d50d6a 100644 --- a/sql/repl_failsafe.cc +++ b/sql/repl_failsafe.cc @@ -962,7 +962,7 @@ bool load_master_data(THD* thd) Cancel the previous START SLAVE UNTIL, as the fact to download a new copy logically makes UNTIL irrelevant. */ - clear_until_condition(&active_mi->rli); + active_mi->rli.clear_until_condition(); /* No need to update rli.event* coordinates, they will be when the slave |