~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.h

  • Committer: Stewart Smith
  • Date: 2010-07-27 00:49:32 UTC
  • mto: (1720.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 1721.
  • Revision ID: stewart@flamingspork.com-20100727004932-basq3vx9szmmbswm
fix storing and manipulating foreign keys in the proto around ALTER TABLE, CREATE TABLE and ALTER TABLE ADD/DROP FOREIGN KEY. We also (mostly) emulate the naming of innodb foreign keys in the upper layer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <boost/program_options.hpp>
26
26
 
27
27
#include "drizzled/atomics.h"
28
 
#include "drizzled/global_buffer.h"
29
 
#include "drizzled/definitions.h"
 
28
 
30
29
struct passwd;
31
30
 
32
31
namespace drizzled
39
38
 
40
39
extern std::bitset<12> test_flags;
41
40
extern atomic<uint32_t> connection_count;
 
41
extern bool calling_initgroups;
42
42
extern const char *load_default_groups[];
43
43
extern bool volatile select_thread_in_use;
44
44
extern bool volatile abort_loop;
48
48
extern passwd *user_info;
49
49
extern char *drizzled_user;
50
50
 
51
 
extern global_buffer_constraint<uint64_t> global_sort_buffer;
52
 
extern global_buffer_constraint<uint64_t> global_join_buffer;
53
 
extern global_buffer_constraint<uint64_t> global_read_rnd_buffer;
54
 
extern global_buffer_constraint<uint64_t> global_read_buffer;
55
 
 
56
51
extern const char * const DRIZZLE_CONFIG_NAME;
57
52
 
58
53
boost::program_options::variables_map &getVariablesMap();
59
54
 
60
55
int init_thread_environment();
61
56
int init_server_components(module::Registry &modules);
62
 
int init_common_variables(int argc, char **argv, module::Registry &modules);
 
57
int init_common_variables(const char *conf_file_name, int argc,
 
58
                          char **argv, const char **groups);
63
59
 
64
60
passwd *check_user(const char *user);
65
61
void set_user(const char *user, passwd *user_info_arg);
66
62
void clean_up(bool print_message);
 
63
void clean_up_mutexes(void);
67
64
bool drizzle_rm_tmp_tables();
68
65
 
69
66
} /* namespace drizzled */