~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.h

  • Committer: Lee Bieber
  • Date: 2010-11-14 23:15:42 UTC
  • mfrom: (1929.1.42 warning-stack-frame)
  • Revision ID: kalebral@gmail.com-20101114231542-fnnu6ydd2p17n582
Merge Monty - fix bug 672372: some functions use > 32k stack

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
 
 
 
27
#include "drizzled/atomics.h"
29
28
#include "drizzled/global_buffer.h"
30
29
#include "drizzled/definitions.h"
31
 
 
32
30
struct passwd;
33
31
 
34
32
namespace drizzled
39
37
class Registry;
40
38
}
41
39
 
42
 
extern boost::detail::atomic_count connection_count;
 
40
extern std::bitset<12> test_flags;
 
41
extern atomic<uint32_t> connection_count;
43
42
extern const char *load_default_groups[];
44
43
extern bool volatile select_thread_in_use;
45
44
extern bool volatile abort_loop;
54
53
extern global_buffer_constraint<uint64_t> global_read_rnd_buffer;
55
54
extern global_buffer_constraint<uint64_t> global_read_buffer;
56
55
 
57
 
extern size_t transaction_message_threshold;
58
 
 
59
56
extern const char * const DRIZZLE_CONFIG_NAME;
60
57
 
61
58
boost::program_options::variables_map &getVariablesMap();
62
59
 
63
60
int init_thread_environment();
64
61
int init_server_components(module::Registry &modules);
65
 
int init_basic_variables(int argc, char **argv);
66
 
int init_remaining_variables(module::Registry &modules);
 
62
int init_common_variables(int argc, char **argv, module::Registry &modules);
67
63
 
68
64
passwd *check_user(const char *user);
69
65
void set_user(const char *user, passwd *user_info_arg);