• unknown's avatar
    Patch to eliminate some valgrind warnings in debug printout code. · 6f6fabb7
    unknown authored
    (originally from Mats)
    
    
    sql/rpl_rli.cc:
      Adding variable to mark an instance of Relay_log_info as fake.
    sql/rpl_rli.h:
      Adding variable to mark an instance of Relay_log_info as fake.
    sql/slave.cc:
      Not printing debug information if we are working with a fake
      instance of Relay_log_info. This because the result of calling
      update is nonsense, and trying to print it generates valgrind
      warnings.
    sql/sql_binlog.cc:
      Marking newly created instance of Relay_log_info as a fake instance.
    6f6fabb7
rpl_rli.h 13 KB