~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.h

  • Committer: Brian Aker
  • Date: 2010-08-12 17:19:46 UTC
  • mfrom: (1701.1.1 turn-off-csv)
  • Revision ID: brian@tangent.org-20100812171946-n44naaqhg27gehlh
MErge Monty, remove CSV from auto-build

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *  Copyright (C) 2010 Monty Taylor
6
6
 *
7
7
 *  This program is free software; you can redistribute it and/or modify
24
24
#include <bitset>
25
25
#include <boost/program_options.hpp>
26
26
 
27
 
#include <boost/detail/atomic_count.hpp>
28
 
 
29
 
#include <drizzled/global_buffer.h>
30
 
#include <drizzled/definitions.h>
 
27
#include "drizzled/atomics.h"
31
28
 
32
29
struct passwd;
33
30
 
39
36
class Registry;
40
37
}
41
38
 
42
 
extern boost::detail::atomic_count connection_count;
 
39
extern std::bitset<12> test_flags;
 
40
extern atomic<uint32_t> connection_count;
 
41
extern bool calling_initgroups;
43
42
extern const char *load_default_groups[];
44
43
extern bool volatile select_thread_in_use;
45
44
extern bool volatile abort_loop;
49
48
extern passwd *user_info;
50
49
extern char *drizzled_user;
51
50
 
52
 
extern global_buffer_constraint<uint64_t> global_sort_buffer;
53
 
extern global_buffer_constraint<uint64_t> global_join_buffer;
54
 
extern global_buffer_constraint<uint64_t> global_read_rnd_buffer;
55
 
extern global_buffer_constraint<uint64_t> global_read_buffer;
56
 
 
57
 
extern size_t transaction_message_threshold;
58
 
 
59
51
extern const char * const DRIZZLE_CONFIG_NAME;
60
52
 
61
53
boost::program_options::variables_map &getVariablesMap();
62
54
 
63
55
int init_thread_environment();
64
56
int init_server_components(module::Registry &modules);
65
 
int init_basic_variables(int argc, char **argv);
66
 
int init_remaining_variables(module::Registry &modules);
 
57
int init_common_variables(const char *conf_file_name, int argc,
 
58
                          char **argv, const char **groups);
67
59
 
68
60
passwd *check_user(const char *user);
69
61
void set_user(const char *user, passwd *user_info_arg);
70
62
void clean_up(bool print_message);
 
63
bool drizzle_rm_tmp_tables();
71
64
 
72
65
} /* namespace drizzled */
73
66