~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.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:
48
48
#define PLUGINDIR       "lib/plugin"
49
49
#endif
50
50
 
51
 
#define ER(X) error_message((X))
 
51
#define ER(X) _(drizzled_error_messages[(X) - ER_ERROR_FIRST])
 
52
#define ER_SAFE(X) (((X) >= ER_ERROR_FIRST && (X) <= ER_ERROR_LAST) ? ER(X) : _("Invalid error code"))
52
53
 
 
54
#define ERRMAPP 1                               /* Errormap f|r my_error */
53
55
#define LIBLEN FN_REFLEN-FN_LEN                 /* Max l{ngd p} dev */
54
56
/* extra 4+4 bytes for slave tmp tables */
55
57
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)
310
312
#define TEST_PRINT_CACHED_TABLES 1
311
313
#define TEST_NO_KEY_GROUP        2
312
314
#define TEST_MIT_THREAD         4
 
315
#define TEST_BLOCKING           8
313
316
#define TEST_KEEP_TMP_TABLES    16
314
317
#define TEST_READCHECK          64      /**< Force use of readcheck */
315
318
#define TEST_NO_EXTRA           128
377
380
#define IS_EQUAL_YES 1
378
381
#define IS_EQUAL_PACK_LENGTH 2
379
382
 
380
 
typedef uint64_t query_id_t;
381
 
 
382
383
 
383
384
#endif /* DRIZZLE_SERVER_DEFINITIONS_H */