• unknown's avatar
    Refactoring: Moved rli code to new file rpl_rli.cc. The idea being that rli · 69d92fb1
    unknown authored
    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
    69d92fb1
repl_failsafe.cc 26.9 KB