~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 21:06:15 UTC
  • Revision ID: brian@tangent.org-20081006210615-65c8oe0wxkpcp6xl
Removed dead repl_failsafe file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include "rpl_mi.h"
20
20
#include "sql_repl.h"
21
21
#include "rpl_filter.h"
22
 
#include "repl_failsafe.h"
23
22
#include "stacktrace.h"
24
23
#include <mysys/mysys_err.h>
25
24
#include <sys/poll.h>
856
855
  if (opt_secure_file_priv)
857
856
    free(opt_secure_file_priv);
858
857
  bitmap_free(&temp_pool);
859
 
  end_slave_list();
860
858
  delete binlog_filter;
861
859
  delete rpl_filter;
862
860
 
916
914
  (void) pthread_mutex_destroy(&LOCK_error_log);
917
915
  (void) pthread_mutex_destroy(&LOCK_user_conn);
918
916
  (void) pthread_mutex_destroy(&LOCK_connection_count);
919
 
  (void) pthread_mutex_destroy(&LOCK_rpl_status);
920
 
  (void) pthread_cond_destroy(&COND_rpl_status);
921
917
  (void) pthread_mutex_destroy(&LOCK_active_mi);
922
918
  (void) rwlock_destroy(&LOCK_sys_init_connect);
923
919
  (void) rwlock_destroy(&LOCK_sys_init_slave);
1988
1984
  {"show_open_tables",     (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_SHOW_OPEN_TABLES]), SHOW_LONG_STATUS},
1989
1985
  {"show_plugins",         (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_SHOW_PLUGINS]), SHOW_LONG_STATUS},
1990
1986
  {"show_processlist",     (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_SHOW_PROCESSLIST]), SHOW_LONG_STATUS},
1991
 
  {"show_slave_hosts",     (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_SHOW_SLAVE_HOSTS]), SHOW_LONG_STATUS},
1992
1987
  {"show_slave_status",    (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_SHOW_SLAVE_STAT]), SHOW_LONG_STATUS},
1993
1988
  {"show_status",          (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_SHOW_STATUS]), SHOW_LONG_STATUS},
1994
1989
  {"show_table_status",    (char*) offsetof(STATUS_VAR, com_stat[(uint) SQLCOM_SHOW_TABLE_STATUS]), SHOW_LONG_STATUS},
2256
2251
  (void) pthread_cond_init(&COND_global_read_lock,NULL);
2257
2252
  (void) pthread_cond_init(&COND_thread_cache,NULL);
2258
2253
  (void) pthread_cond_init(&COND_flush_thread_cache,NULL);
2259
 
  (void) pthread_mutex_init(&LOCK_rpl_status, MY_MUTEX_INIT_FAST);
2260
 
  (void) pthread_cond_init(&COND_rpl_status, NULL);
2261
2254
 
2262
2255
  /* Parameter for threads created for connections */
2263
2256
  (void) pthread_attr_init(&connection_attrib);
2294
2287
  randominit(&sql_rand,(uint32_t) server_start_time,(uint32_t) server_start_time/2);
2295
2288
  setup_fpu();
2296
2289
  init_thr_lock();
2297
 
  init_slave_list();
2298
2290
 
2299
2291
  /* Setup logs */
2300
2292