~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_locale.h

Merged in latest plugin-slot-reorg.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLE_SERVER_LOCALE_H
21
21
#define DRIZZLE_SERVER_LOCALE_H
22
22
 
 
23
typedef struct st_typelib TYPELIB;
 
24
 
23
25
typedef struct my_locale_st
24
26
{
25
27
  uint32_t  number;
 
28
  const bool is_ascii;
26
29
  const char *name;
27
30
  const char *description;
28
 
  const bool is_ascii;
29
31
  TYPELIB *month_names;
30
32
  TYPELIB *ab_month_names;
31
33
  TYPELIB *day_names;
32
34
  TYPELIB *ab_day_names;
33
 
#ifdef __cplusplus 
34
35
  my_locale_st(uint32_t number_par,
35
36
               const char *name_par, const char *descr_par, bool is_ascii_par,
36
37
               TYPELIB *month_names_par, TYPELIB *ab_month_names_par,
37
 
               TYPELIB *day_names_par, TYPELIB *ab_day_names_par) : 
38
 
    number(number_par),
39
 
    name(name_par), description(descr_par), is_ascii(is_ascii_par),
 
38
               TYPELIB *day_names_par, TYPELIB *ab_day_names_par) :
 
39
    number(number_par), is_ascii(is_ascii_par),
 
40
    name(name_par), description(descr_par),
40
41
    month_names(month_names_par), ab_month_names(ab_month_names_par),
41
42
    day_names(day_names_par), ab_day_names(ab_day_names_par)
42
43
  {}
43
 
#endif
44
44
} MY_LOCALE;
45
45
 
46
46
extern MY_LOCALE my_locale_en_US;