145
145
extern ulong binlog_cache_use, binlog_cache_disk_use;
146
146
extern ulong aborted_threads,aborted_connects;
147
147
extern ulong slave_open_temp_tables;
148
extern ulong slow_launch_threads, slow_launch_time;
149
extern ulong table_cache_size, table_def_size;
150
extern ulong max_connections,max_connect_errors, connect_timeout;
148
extern ulong slow_launch_threads;
149
extern uint64_t slow_launch_time;
150
extern uint64_t table_cache_size;
151
extern uint64_t table_def_size;
152
extern uint64_t max_connections;
153
extern uint64_t max_connect_errors;
154
extern uint64_t connect_timeout;
151
155
extern bool slave_allow_batching;
152
extern ulong slave_net_timeout, slave_trans_retries;
156
extern uint64_t slave_net_timeout;
157
extern uint64_t slave_trans_retries;
153
158
extern uint32_t max_user_connections;
154
extern ulong what_to_log,flush_time;
155
extern ulong binlog_cache_size, max_binlog_cache_size, open_files_limit;
156
extern ulong max_binlog_size, max_relay_log_size;
159
extern ulong what_to_log;
160
extern ulong flush_time;
161
extern uint64_t binlog_cache_size;
162
extern uint64_t max_binlog_cache_size;
163
extern ulong open_files_limit;
164
extern uint64_t max_binlog_size;
165
extern uint64_t max_relay_log_size;
157
166
extern ulong opt_binlog_rows_event_max_size;
158
extern ulong rpl_recovery_rank, thread_cache_size, thread_pool_size;
167
extern uint64_t thread_cache_size;
168
extern uint64_t thread_pool_size;
159
169
extern ulong back_log;
160
170
extern pid_t current_pid;
161
extern ulong expire_logs_days, sync_binlog_period, sync_binlog_counter;
171
extern uint64_t expire_logs_days;
172
extern uint64_t sync_binlog_period;
173
extern ulong sync_binlog_counter;
162
174
extern ulong opt_tc_log_size, tc_log_max_pages_used, tc_log_page_size;
163
175
extern ulong tc_log_page_waits;
164
176
extern bool relay_log_purge;
363
375
DATE_TIME_FORMAT *format);
364
376
const char *get_date_time_format_str(KNOWN_DATE_TIME_FORMAT *format,
365
377
enum enum_drizzle_timestamp_type type);
366
extern bool make_date_time(DATE_TIME_FORMAT *format, DRIZZLE_TIME *l_time,
367
enum enum_drizzle_timestamp_type type, String *str);
368
378
void make_datetime(const DATE_TIME_FORMAT *format, const DRIZZLE_TIME *l_time,
370
380
void make_date(const DATE_TIME_FORMAT *format, const DRIZZLE_TIME *l_time,