~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_static.cc

  • Committer: Brian Aker
  • Date: 2011-02-12 08:10:17 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212081017-7793i41ybt7gp5ty
More removal of session from includes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
  a shared library
19
19
*/
20
20
 
21
 
#include <config.h>
 
21
#include "config.h"
22
22
 
23
 
#include <drizzled/internal/my_sys.h>
24
 
#include <drizzled/error.h>
 
23
#include "drizzled/internal/my_sys.h"
 
24
#include "drizzled/error.h"
25
25
#include "my_static.h"
26
26
#include <stdlib.h>
27
27
 
28
 
#include <drizzled/visibility.h>
 
28
#include "drizzled/visibility.h"
29
29
 
30
30
namespace drizzled
31
31
{
41
41
     home_dir_buff[FN_REFLEN]= {0};
42
42
DRIZZLED_API int my_umask=0664;
43
43
int my_umask_dir=0777;
 
44
uint32_t   my_file_limit= MY_NFILE;
44
45
 
45
46
        /* From mf_brkhant */
46
47
int my_dont_interrupt=0;
50
51
        /* from mf_reccache.c */
51
52
uint32_t my_default_record_cache_size=RECORD_CACHE_SIZE;
52
53
 
 
54
        /* from soundex.c */
 
55
                                /* ABCDEFGHIJKLMNOPQRSTUVWXYZ */
 
56
                                /* :::::::::::::::::::::::::: */
 
57
const char *soundex_map=          "01230120022455012623010202";
 
58
 
 
59
        /* from safe_malloc */
 
60
uint32_t sf_malloc_prehunc=0,           /* If you have problem with core- */
 
61
     sf_malloc_endhunc=0,               /* dump when malloc-message.... */
 
62
                                        /* set theese to 64 or 128  */
 
63
     sf_malloc_quick=0;                 /* set if no calls to sanity */
 
64
uint32_t sf_malloc_cur_memory= 0L;              /* Current memory usage */
 
65
uint32_t sf_malloc_max_memory= 0L;              /* Maximum memory usage */
 
66
uint32_t  sf_malloc_count= 0;           /* Number of times NEW() was called */
 
67
unsigned char *sf_min_adress= (unsigned char*) ~(unsigned long) 0L,
 
68
     *sf_max_adress= (unsigned char*) 0L;
 
69
/* Root of the linked list of struct st_irem */
 
70
irem *sf_malloc_root = NULL;
 
71
 
53
72
        /* from my_alarm */
54
73
int volatile my_have_got_alarm=0;       /* declare variable to reset */
55
74
uint32_t my_time_to_wait_for_lock=2;    /* In seconds */
58
77
bool my_disable_async_io= true;
59
78
bool my_disable_flush_key_blocks=0;
60
79
bool my_disable_symlinks=0;
 
80
bool mysys_uses_curses=0;
61
81
 
62
82
} /* namespace internal */
63
83
} /* namespace drizzled */