~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Brian Aker
  • Date: 2010-09-20 00:00:20 UTC
  • Revision ID: brian@tangent.org-20100920000020-s6x30brpajr83pkr
Update session/memory to use boost specific.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
namespace drizzled
34
34
{
35
35
 
 
36
/* Global value for how we extend our temporary directory */
 
37
#define GLOBAL_TEMPORARY_EXT ".temporary"
 
38
 
36
39
/* These paths are converted to other systems (WIN95) before use */
37
40
 
38
41
#define LANGUAGE        "english/"
41
44
 
42
45
#define ER(X) ::drizzled::error_message((X))
43
46
 
 
47
/* buffer size for strerror_r() */
 
48
#define STRERROR_MAX 256
 
49
 
44
50
/* extra 4+4 bytes for slave tmp tables */
45
51
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)
46
52
#define MAX_ALIAS_NAME 256
182
188
 
183
189
/** Characters shown for the command in 'show processlist'. */
184
190
#define PROCESS_LIST_WIDTH 100
185
 
/* Characters shown for the command in 'information_schema.processlist' */
186
 
#define PROCESS_LIST_INFO_WIDTH 65535
187
191
 
188
192
#define PRECISION_FOR_DOUBLE 53
189
193
#define PRECISION_FOR_FLOAT  24
193
197
#define FLUSH_TIME              0               /**< Don't flush tables */
194
198
#define MAX_CONNECT_ERRORS      10              ///< errors before disabling host
195
199
 
196
 
#define INTERRUPT_PRIOR 10
197
 
#define CONNECT_PRIOR   9
198
 
#define WAIT_PRIOR      8
199
 
#define QUERY_PRIOR     6
200
 
 
201
200
/* Bits from testflag */
202
201
enum test_flag_bit
203
202
{
344
343
#define HA_CREATE_USED_CHARSET          (1L << 8)
345
344
#define HA_CREATE_USED_DEFAULT_CHARSET  (1L << 9)
346
345
#define HA_CREATE_USED_ROW_FORMAT       (1L << 15)
347
 
#define HA_CREATE_USED_KEY_BLOCK_SIZE   (1L << 19)
348
 
#define HA_CREATE_USED_BLOCK_SIZE       (1L << 22)
349
346
 
350
347
/*
351
348
  The below two are not used (and not handled) in this milestone of this WL
484
481
static const uint32_t ONCE_ALLOC_INIT= 4096;
485
482
/* Typical record cash */
486
483
static const uint32_t RECORD_CACHE_SIZE= 64*1024;
487
 
/* Typical key cash */
488
 
static const uint32_t KEY_CACHE_SIZE= 8*1024*1024;
489
 
 
490
 
/* Default size of a key cache block  */
491
 
static const uint32_t KEY_CACHE_BLOCK_SIZE= 1024;
492
484
 
493
485
 
494
486
/* Some things that this system doesn't have */