~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2011-02-12 10:06:03 UTC
  • mfrom: (2154.2.16 drizzle-build)
  • Revision ID: brian@tangent.org-20110212100603-i5ww0s02p8l4a8q7
Merge in solaris tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
#include "config.h"
21
 
#include "drizzled/configmake.h"
22
 
#include "drizzled/atomics.h"
23
 
#include "drizzled/data_home.h"
 
21
 
 
22
#include <drizzled/configmake.h>
 
23
#include <drizzled/atomics.h>
 
24
#include <drizzled/data_home.h>
24
25
 
25
26
#include <netdb.h>
26
27
#include <sys/types.h>
31
32
#include <stdexcept>
32
33
 
33
34
#include <boost/program_options.hpp>
34
 
#include "drizzled/program_options/config_file.h"
 
35
#include <drizzled/program_options/config_file.h>
35
36
#include <boost/thread/recursive_mutex.hpp>
36
37
#include <boost/thread/mutex.hpp>
37
38
#include <boost/thread/shared_mutex.hpp>
39
40
#include <boost/filesystem.hpp>
40
41
#include <boost/detail/atomic_count.hpp>
41
42
 
42
 
#include "drizzled/internal/my_sys.h"
43
 
#include "drizzled/internal/my_bit.h"
 
43
#include <drizzled/cached_directory.h>
 
44
#include <drizzled/charset.h>
 
45
#include <drizzled/data_home.h>
 
46
#include <drizzled/debug.h>
 
47
#include <drizzled/definition/cache.h>
 
48
#include <drizzled/drizzled.h>
 
49
#include <drizzled/errmsg_print.h>
 
50
#include <drizzled/error.h>
 
51
#include <drizzled/global_buffer.h>
 
52
#include <drizzled/internal/my_bit.h>
 
53
#include <drizzled/internal/my_sys.h>
 
54
#include <drizzled/item/cmpfunc.h>
 
55
#include <drizzled/item/create.h>
 
56
#include <drizzled/message/cache.h>
 
57
#include <drizzled/module/load_list.h>
 
58
#include <drizzled/module/registry.h>
44
59
#include <drizzled/my_hash.h>
45
 
#include <drizzled/error.h>
46
 
#include <drizzled/errmsg_print.h>
47
 
#include <drizzled/tztime.h>
 
60
#include <drizzled/plugin/client.h>
 
61
#include <drizzled/plugin/error_message.h>
 
62
#include <drizzled/plugin/event_observer.h>
 
63
#include <drizzled/plugin/listen.h>
 
64
#include <drizzled/plugin/monitored_in_transaction.h>
 
65
#include <drizzled/plugin/scheduler.h>
 
66
#include <drizzled/plugin/storage_engine.h>
 
67
#include <drizzled/plugin/xa_resource_manager.h>
 
68
#include <drizzled/probes.h>
 
69
#include <drizzled/replication_services.h> /* For ReplicationServices::evaluateRegisteredPlugins() */
 
70
#include <drizzled/session.h>
 
71
#include <drizzled/session/cache.h>
 
72
#include <drizzled/show.h>
48
73
#include <drizzled/sql_base.h>
49
 
#include <drizzled/show.h>
50
74
#include <drizzled/sql_parse.h>
51
 
#include <drizzled/item/cmpfunc.h>
52
 
#include <drizzled/session.h>
53
 
#include <drizzled/item/create.h>
 
75
#include <drizzled/temporal_format.h> /* For init_temporal_formats() */
 
76
#include <drizzled/tztime.h>
54
77
#include <drizzled/unireg.h>
55
 
#include "drizzled/temporal_format.h" /* For init_temporal_formats() */
56
 
#include "drizzled/plugin/listen.h"
57
 
#include "drizzled/plugin/error_message.h"
58
 
#include "drizzled/plugin/client.h"
59
 
#include "drizzled/plugin/scheduler.h"
60
 
#include "drizzled/plugin/xa_resource_manager.h"
61
 
#include "drizzled/plugin/monitored_in_transaction.h"
62
 
#include "drizzled/replication_services.h" /* For ReplicationServices::evaluateRegisteredPlugins() */
63
 
#include "drizzled/probes.h"
64
 
#include "drizzled/session/cache.h"
65
 
#include "drizzled/charset.h"
66
 
#include "plugin/myisam/myisam.h"
67
 
#include "drizzled/drizzled.h"
68
 
#include "drizzled/module/registry.h"
69
 
#include "drizzled/module/load_list.h"
70
 
#include "drizzled/global_buffer.h"
71
 
 
72
 
#include "drizzled/debug.h"
73
 
 
74
 
#include "drizzled/definition/cache.h"
75
 
 
76
 
#include "drizzled/plugin/event_observer.h"
77
 
 
78
 
#include "drizzled/data_home.h"
79
 
 
80
 
#include "drizzled/message/cache.h"
 
78
#include <plugin/myisam/myisam.h>
81
79
 
82
80
#include "drizzled/visibility.h"
83
81
 
84
82
#include <google/protobuf/stubs/common.h>
85
83
 
 
84
#include <drizzled/refresh_version.h>
 
85
 
86
86
#if TIME_WITH_SYS_TIME
87
87
# include <sys/time.h>
88
88
# include <time.h>
361
361
 
362
362
DRIZZLED_API size_t transaction_message_threshold;
363
363
 
364
 
/** 
365
 
  Refresh value. We use to test this to find out if a refresh even has happened recently.
366
 
*/
367
 
uint64_t refresh_version;  /* Increments on each reload */
368
 
 
369
364
/* Function declarations */
370
365
bool drizzle_rm_tmp_tables();
371
366