~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_locale.h

  • Committer: Brian Aker
  • Date: 2009-05-21 00:57:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1032.
  • Revision ID: brian@gaz-20090521005705-rpq4hzhy761d3wbj
Straighten out structures (remove some some dead bits).

Show diffs side-by-side

added added

removed removed

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