16 #ifndef SQL_LOCALE_INCLUDED
17 #define SQL_LOCALE_INCLUDED
25 #include "my_global.h"
34 const char *description;
40 uint max_month_name_length;
41 uint max_day_name_length;
47 const char *name_par,
const char *descr_par,
bool is_ascii_par,
50 uint max_month_name_length_par, uint max_day_name_length_par,
51 uint decimal_point_par, uint thousand_sep_par,
54 name(name_par), description(descr_par), is_ascii(is_ascii_par),
55 month_names(month_names_par), ab_month_names(ab_month_names_par),
56 day_names(day_names_par), ab_day_names(ab_day_names_par),
57 max_month_name_length(max_month_name_length_par),
58 max_day_name_length(max_day_name_length_par),
59 decimal_point(decimal_point_par),
60 thousand_sep(thousand_sep_par),
61 grouping(grouping_par),
69 extern MYSQL_PLUGIN_IMPORT
MY_LOCALE *my_default_lc_messages;
70 extern MY_LOCALE *my_default_lc_time_names;
75 MY_LOCALE *my_locale_by_number(uint number);
76 void cleanup_errmsgs(
void);