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;
462
461
char *opt_relay_logname = 0, *opt_relaylog_index_name=0;
463
462
char *opt_logname;
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);
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);
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,
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;
4180
4165
/* Variables in libraries */