~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/unireg.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#ifndef _unireg_h
24
24
 
 
25
#include <libdrizzle/gettext.h>
 
26
 
25
27
#ifndef NO_ALARM_LOOP
26
28
#define NO_ALARM_LOOP           /* lib5 and popen can't use alarm */
27
29
#endif
28
30
 
29
 
 
 
31
#define ER(X) _(drizzled_error_messages[(X) - ER_ERROR_FIRST])
 
32
#define ER_SAFE(X) (((X) >= ER_ERROR_FIRST && (X) <= ER_ERROR_LAST) ? ER(X) : _("Invalid error code"))
 
33
 
 
34
 
 
35
#define ERRMAPP 1                               /* Errormap f|r my_error */
30
36
#define LIBLEN FN_REFLEN-FN_LEN                 /* Max l{ngd p} dev */
31
37
/* extra 4+4 bytes for slave tmp tables */
32
38
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)
144
150
#define TE_INFO_LENGTH 3
145
151
#define MTYP_NOEMPTY_BIT 128
146
152
 
147
 
 
 
153
#define FRM_VER_TRUE_VARCHAR (FRM_VER+4) /* 10 */
148
154
#define DRIZZLE_VERSION_TABLESPACE_IN_FRM_CGE 50120
149
155
#define DRIZZLE_VERSION_TABLESPACE_IN_FRM 50205
150
156
#define DRIZZLE_VERSION_TABLESPACE_IN_FRM_STR "50205"
172
178
 
173
179
/* Include prototypes for unireg */
174
180
 
 
181
#include <drizzled/error.h>
175
182
#include "structs.h"                            /* All structs we need */
176
183
 
177
184
#endif