1
by brian
clean slate |
1 |
/* Copyright (C) 2000 MySQL AB
|
2 |
||
3 |
This program is free software; you can redistribute it and/or modify
|
|
4 |
it under the terms of the GNU General Public License as published by
|
|
5 |
the Free Software Foundation; version 2 of the License.
|
|
6 |
||
7 |
This program is distributed in the hope that it will be useful,
|
|
8 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
9 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
10 |
GNU General Public License for more details.
|
|
11 |
||
12 |
You should have received a copy of the GNU General Public License
|
|
13 |
along with this program; if not, write to the Free Software
|
|
1802.10.2
by Monty Taylor
Update all of the copyright headers to include the correct address. |
14 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
|
1
by brian
clean slate |
15 |
|
16 |
/*
|
|
17 |
Static variables for mysys library. All definied here for easy making of
|
|
18 |
a shared library
|
|
19 |
*/
|
|
20 |
||
2173.2.1
by Monty Taylor
Fixes incorrect usage of include |
21 |
#include <config.h> |
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
22 |
|
2173.2.1
by Monty Taylor
Fixes incorrect usage of include |
23 |
#include <drizzled/internal/my_sys.h> |
24 |
#include <drizzled/error.h> |
|
1
by brian
clean slate |
25 |
#include "my_static.h" |
612.2.6
by Monty Taylor
OpenSolaris builds. |
26 |
#include <stdlib.h> |
1
by brian
clean slate |
27 |
|
2173.2.1
by Monty Taylor
Fixes incorrect usage of include |
28 |
#include <drizzled/visibility.h> |
2119.4.1
by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by |
29 |
|
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
30 |
namespace drizzled |
31 |
{
|
|
32 |
namespace internal |
|
33 |
{
|
|
34 |
||
146
by Brian Aker
my_bool cleanup. |
35 |
bool timed_mutexes= 0; |
1
by brian
clean slate |
36 |
|
37 |
/* from my_init */
|
|
38 |
char * home_dir=0; |
|
39 |
const char *my_progname=0; |
|
40 |
char curr_dir[FN_REFLEN]= {0}, |
|
41 |
home_dir_buff[FN_REFLEN]= {0}; |
|
2119.4.1
by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by |
42 |
DRIZZLED_API int my_umask=0664; |
43 |
int my_umask_dir=0777; |
|
1
by brian
clean slate |
44 |
|
45 |
/* From mf_brkhant */
|
|
46 |
volatile int _my_signals=0; |
|
47 |
sigset_t my_signals; /* signals blocked by mf_brkhant */ |
|
48 |
||
49 |
/* from mf_reccache.c */
|
|
298
by Brian Aker
ulong conversion. |
50 |
uint32_t my_default_record_cache_size=RECORD_CACHE_SIZE; |
1
by brian
clean slate |
51 |
|
52 |
/* from my_alarm */
|
|
53 |
int volatile my_have_got_alarm=0; /* declare variable to reset */ |
|
298
by Brian Aker
ulong conversion. |
54 |
uint32_t my_time_to_wait_for_lock=2; /* In seconds */ |
1
by brian
clean slate |
55 |
|
56 |
/* How to disable options */
|
|
146
by Brian Aker
my_bool cleanup. |
57 |
bool my_disable_symlinks=0; |
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
58 |
|
59 |
} /* namespace internal */ |
|
60 |
} /* namespace drizzled */ |