~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/mysys_err.h

Removed/replaced DBUG symbols and standardized TRUE/FALSE

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
extern "C" {
20
20
#endif
21
21
 
22
 
 
 
22
#define GLOBERRS (EE_ERROR_LAST - EE_ERROR_FIRST + 1) /* Nr of global errors */
 
23
#define EE(X)    (globerrs[(X) - EE_ERROR_FIRST])
 
24
 
 
25
extern const char * globerrs[]; /* my_error_messages is here */
 
26
 
 
27
/* Error message numbers in global map */
23
28
/*
24
29
  Do not add error numbers before EE_ERROR_FIRST.
25
30
  If necessary to add lower numbers, change EE_ERROR_FIRST accordingly.
76
81
#define EXIT_OPTION_DISABLED            12
77
82
#define EXIT_ARGUMENT_INVALID           13
78
83
 
79
 
#define GLOBERRS (EE_ERROR_LAST - EE_ERROR_FIRST + 1) /* Nr of global errors */
80
 
#define EE(X)    (globerrs[(X) - EE_ERROR_FIRST])
81
 
 
82
 
/* Error message numbers in global map */
83
 
extern const char * globerrs[GLOBERRS];
84
84
 
85
85
#ifdef  __cplusplus
86
86
}