~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_repl.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
1707
1707
};
1708
1708
 
1709
1709
static void fix_slave_net_timeout(THD *thd,
1710
 
                                  enum_var_type type __attribute__((__unused__)))
 
1710
                                  enum_var_type type __attribute__((unused)))
1711
1711
{
1712
1712
#ifdef HAVE_REPLICATION
1713
1713
  pthread_mutex_lock(&LOCK_active_mi);
1738
1738
static int show_slave_skip_errors(THD *thd, SHOW_VAR *var, char *buff);
1739
1739
 
1740
1740
 
1741
 
static int show_slave_skip_errors(THD *thd __attribute__((__unused__)),
 
1741
static int show_slave_skip_errors(THD *thd __attribute__((unused)),
1742
1742
                                  SHOW_VAR *var, char *buff)
1743
1743
{
1744
1744
  var->type=SHOW_CHAR;
1790
1790
  {"slave_skip_errors",       (char*) &show_slave_skip_errors_cont,      SHOW_FUNC},
1791
1791
};
1792
1792
 
1793
 
bool sys_var_slave_skip_counter::check(THD *thd __attribute__((__unused__)),
 
1793
bool sys_var_slave_skip_counter::check(THD *thd __attribute__((unused)),
1794
1794
                                       set_var *var)
1795
1795
{
1796
1796
  int result= 0;
1808
1808
}
1809
1809
 
1810
1810
 
1811
 
bool sys_var_slave_skip_counter::update(THD *thd __attribute__((__unused__)),
 
1811
bool sys_var_slave_skip_counter::update(THD *thd __attribute__((unused)),
1812
1812
                                        set_var *var)
1813
1813
{
1814
1814
  pthread_mutex_lock(&LOCK_active_mi);
1830
1830
}
1831
1831
 
1832
1832
 
1833
 
bool sys_var_sync_binlog_period::update(THD *thd __attribute__((__unused__)),
 
1833
bool sys_var_sync_binlog_period::update(THD *thd __attribute__((unused)),
1834
1834
                                        set_var *var)
1835
1835
{
1836
1836
  sync_binlog_period= (ulong) var->save_result.uint64_t_value;