~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_repl.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 00:33:01 UTC
  • mto: This revision was merged to the branch mainline in revision 479.
  • Revision ID: brian@gir-20081006003301-uz4u8tyrws0lxq79
Removed binlog tool (we need to rewrite it) and removed all the hooks for
embedding the server in a client tool (--awful hack).

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include <drizzled/server_includes.h>
17
17
 
18
 
#ifdef HAVE_REPLICATION
19
18
#include "rpl_mi.h"
20
19
#include "sql_repl.h"
21
20
#include "log_event.h"
1700
1699
static void fix_slave_net_timeout(THD *thd,
1701
1700
                                  enum_var_type type __attribute__((unused)))
1702
1701
{
1703
 
#ifdef HAVE_REPLICATION
1704
1702
  pthread_mutex_lock(&LOCK_active_mi);
1705
1703
  if (active_mi && slave_net_timeout < active_mi->heartbeat_period)
1706
1704
    push_warning_printf(thd, DRIZZLE_ERROR::WARN_LEVEL_WARN,
1710
1708
                        " A sensible value for the period should be"
1711
1709
                        " less than the timeout.");
1712
1710
  pthread_mutex_unlock(&LOCK_active_mi);
1713
 
#endif
1714
1711
  return;
1715
1712
}
1716
1713
 
1840
1837
  }
1841
1838
  return 0;
1842
1839
}
1843
 
 
1844
 
#endif /* HAVE_REPLICATION */