~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
#include <stdint.h>
32
32
 
 
33
namespace drizzled
 
34
{
 
35
 
33
36
/* These paths are converted to other systems (WIN95) before use */
34
37
 
35
38
#define LANGUAGE        "english/"
37
40
#define LOG_PREFIX      "ML"
38
41
#define PROGDIR         "bin/"
39
42
 
40
 
#define ER(X) error_message((X))
 
43
#define ER(X) ::drizzled::error_message((X))
41
44
 
42
45
#define LIBLEN FN_REFLEN-FN_LEN                 /* Max l{ngd p} dev */
43
46
/* extra 4+4 bytes for slave tmp tables */
234
237
#define MODE_NO_ZERO_DATE               (2)
235
238
#define MODE_INVALID_DATES              (MODE_NO_ZERO_DATE*2)
236
239
 
237
 
/* @@optimizer_switch flags */
238
 
#define OPTIMIZER_SWITCH_NO_MATERIALIZATION 1
239
 
#define OPTIMIZER_SWITCH_NO_SEMIJOIN 2
240
 
 
241
240
#define MY_CHARSET_BIN_MB_MAXLEN 1
242
241
 
243
242
// uncachable cause
425
424
#define HA_MRR_USE_DEFAULT_IMPL 64
426
425
 
427
426
typedef int myf;
428
 
#define MYF(v)          (myf) (v)
 
427
#define MYF(v)          (static_cast<drizzled::myf>(v))
429
428
 
430
429
#define MY_I_S_MAYBE_NULL 1
431
430
#define MY_I_S_UNSIGNED   2
680
679
# define _DTRACE_VERSION 0
681
680
#endif
682
681
 
 
682
} /* namespace drizzled */
 
683
 
683
684
#endif /* DRIZZLED_DEFINITIONS_H */