~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Monty Taylor
  • Date: 2011-01-26 19:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: mordred@inaugust.com-20110126191555-nq5nnzyscvngsip2
Turns on -fvisibility=hidden by default. Symbols intended to be used by
plugins need to be marked with DRIZZLED_API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
#include "drizzled/message/cache.h"
79
79
 
 
80
#include "drizzled/visibility.h"
 
81
 
80
82
#include <google/protobuf/stubs/common.h>
81
83
 
82
84
#if TIME_WITH_SYS_TIME
232
234
char *drizzled_user;
233
235
bool volatile select_thread_in_use;
234
236
bool volatile abort_loop;
235
 
bool volatile shutdown_in_progress;
 
237
DRIZZLED_API bool volatile shutdown_in_progress;
236
238
char *opt_scheduler_default;
237
239
const char *opt_scheduler= NULL;
238
240
 
239
 
size_t my_thread_stack_size= 0;
 
241
DRIZZLED_API size_t my_thread_stack_size= 0;
240
242
 
241
243
/*
242
244
  Legacy global plugin::StorageEngine. These will be removed (please do not add more).
251
253
uint32_t tc_heuristic_recover= 0;
252
254
uint64_t session_startup_options;
253
255
back_log_constraints back_log(50);
254
 
uint32_t server_id;
 
256
DRIZZLED_API uint32_t server_id;
255
257
uint64_t table_cache_size;
256
258
size_t table_def_size;
257
259
uint32_t global_thread_id= 1UL;
305
307
 
306
308
char system_time_zone[30];
307
309
char *default_tz_name;
308
 
char glob_hostname[FN_REFLEN];
 
310
DRIZZLED_API char glob_hostname[FN_REFLEN];
309
311
 
310
312
char *opt_tc_log_file;
311
313
const key_map key_map_empty(0);
312
 
key_map key_map_full(0);                        // Will be initialized later
 
314
DRIZZLED_API key_map key_map_full(0);                        // Will be initialized later
313
315
 
314
316
std::string drizzle_tmpdir;
315
317
char *opt_drizzle_tmpdir= NULL;
325
327
 
326
328
FILE *stderror_file=0;
327
329
 
328
 
struct drizzle_system_variables global_system_variables;
329
 
struct drizzle_system_variables max_system_variables;
330
 
struct global_counters current_global_counters;
 
330
DRIZZLED_API drizzle_system_variables global_system_variables;
 
331
drizzle_system_variables max_system_variables;
 
332
global_counters current_global_counters;
331
333
 
332
 
const CHARSET_INFO *system_charset_info, *files_charset_info ;
 
334
DRIZZLED_API const CHARSET_INFO *system_charset_info;
 
335
const CHARSET_INFO *files_charset_info;
333
336
const CHARSET_INFO *table_alias_charset;
334
337
const CHARSET_INFO *character_set_filesystem;
335
338
 
338
341
SHOW_COMP_OPTION have_symlink;
339
342
 
340
343
boost::condition_variable_any COND_refresh;
341
 
boost::condition_variable COND_thread_count;
 
344
DRIZZLED_API boost::condition_variable COND_thread_count;
342
345
pthread_t signal_thread;
343
346
 
344
347
/* Static variables */