• unknown's avatar
    replication updates. This changeset seems to be working fine on test systems. · 5449b03b
    unknown authored
    If no problems are discovered in the next week, this will make the replication
    code ready for 4.0.2 release.
    
    
    dbug/dbug.c:
      cleanup of my previous fix
    sql/mysqld.cc:
      fixed a REALLY NASTY BUG - slave threads were being launched before 
      initialization of global thread keys. Thus if the slave thread was slow
      to start everything worked fine, but if it started quickly, we would get
      into trouble using the unitinialized keys
    sql/net_pkg.cc:
      make net_printf() work with 0 error code taking the third argument as 
      format string in that case
    sql/slave.cc:
      misc fix-ups and debugging instrumentations
    sql/slave.h:
      added skip_log_purge member
    sql/sql_class.cc:
      debugging instrumentation to track down random memory corruption
    sql/sql_class.h:
      added debugging sentry to THD to track down memory corruption
    sql/sql_repl.cc:
      fixed bugs in CHANGE MASTER
    5449b03b
sql_repl.cc 26.9 KB