~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2008-10-30 21:37:46 UTC
  • Revision ID: brian@tangent.org-20081030213746-5gob9ke3kcatmlzm
Removed random dead code left over from previous scheduler (plus the... has
been dead since 3.23... repl commands). I left "host" for the moment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
static char compiled_default_collation_name[]= DRIZZLE_DEFAULT_COLLATION_NAME;
246
246
static I_List<Session> thread_cache;
247
247
 
248
 
static pthread_cond_t COND_thread_cache, COND_flush_thread_cache;
249
 
 
250
248
/* Global variables */
251
249
 
252
250
bool opt_bin_log;
458
456
uint32_t report_port= DRIZZLE_PORT;
459
457
uint32_t master_retry_count= 0;
460
458
char *master_info_file;
461
 
char *relay_log_info_file, *report_user, *report_password, *report_host;
 
459
char *relay_log_info_file;
 
460
char *report_host;
462
461
char *opt_relay_logname = 0, *opt_relaylog_index_name=0;
463
462
char *opt_logname;
464
463
 
923
922
  (void) pthread_cond_destroy(&COND_thread_count);
924
923
  (void) pthread_cond_destroy(&COND_refresh);
925
924
  (void) pthread_cond_destroy(&COND_global_read_lock);
926
 
  (void) pthread_cond_destroy(&COND_thread_cache);
927
 
  (void) pthread_cond_destroy(&COND_flush_thread_cache);
928
925
}
929
926
 
930
927
 
2140
2137
  (void) pthread_cond_init(&COND_thread_count,NULL);
2141
2138
  (void) pthread_cond_init(&COND_refresh,NULL);
2142
2139
  (void) pthread_cond_init(&COND_global_read_lock,NULL);
2143
 
  (void) pthread_cond_init(&COND_thread_cache,NULL);
2144
 
  (void) pthread_cond_init(&COND_flush_thread_cache,NULL);
2145
2140
 
2146
2141
  /* Parameter for threads created for connections */
2147
2142
  (void) pthread_attr_init(&connection_attrib);
3266
3261
      "the slave from the master or other hosts."),
3267
3262
   (char**) &report_host, (char**) &report_host, 0, GET_STR, REQUIRED_ARG, 0, 0,
3268
3263
   0, 0, 0, 0},
3269
 
  {"report-password", OPT_REPORT_PASSWORD, "Undocumented.",
3270
 
   (char**) &report_password, (char**) &report_password, 0, GET_STR,
3271
 
   REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
3272
 
  {"report-port", OPT_REPORT_PORT,
3273
 
   N_("Port for connecting to slave reported to the master during slave "
3274
 
      "registration. Set it only if the slave is listening on a non-default "
3275
 
      "port or if you have a special tunnel from the master or other clients "
3276
 
      "to the slave. If not sure, leave this option unset."),
3277
 
   (char**) &report_port, (char**) &report_port, 0, GET_UINT, REQUIRED_ARG,
3278
 
   DRIZZLE_PORT, 0, 0, 0, 0, 0},
3279
3264
  {"safe-mode", OPT_SAFE,
3280
3265
   N_("Skip some optimize stages (for testing)."),
3281
3266
   0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
4174
4159
  /* Replication parameters */
4175
4160
  master_info_file= (char*) "master.info",
4176
4161
    relay_log_info_file= (char*) "relay-log.info";
4177
 
  report_user= report_password = report_host= 0;        /* TO BE DELETED */
 
4162
  report_host= 0;       /* TO BE DELETED */
4178
4163
  opt_relay_logname= opt_relaylog_index_name= 0;
4179
4164
 
4180
4165
  /* Variables in libraries */