~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/unireg.h

  • Committer: Monty Taylor
  • Date: 2008-10-23 02:48:56 UTC
  • Revision ID: monty@inaugust.com-20081023024856-31i4hijejds1cp2f
Took gettext.h out of header files.
Made error messages come through a function.
Removed ER_SAFE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#define NO_ALARM_LOOP           /* lib5 and popen can't use alarm */
27
27
#endif
28
28
 
29
 
#define ER(X) _(drizzled_error_messages[(X) - ER_ERROR_FIRST])
30
 
#define ER_SAFE(X) (((X) >= ER_ERROR_FIRST && (X) <= ER_ERROR_LAST) ? ER(X) : _("Invalid error code"))
31
 
 
32
 
 
33
 
#define ERRMAPP 1                               /* Errormap f|r my_error */
 
29
 
34
30
#define LIBLEN FN_REFLEN-FN_LEN                 /* Max l{ngd p} dev */
35
31
/* extra 4+4 bytes for slave tmp tables */
36
32
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)
176
172
 
177
173
/* Include prototypes for unireg */
178
174
 
179
 
#include <drizzled/error.h>
180
175
#include "structs.h"                            /* All structs we need */
181
176
 
182
177
#endif