summaryrefslogtreecommitdiff
path: root/sql/mysql_priv.h
diff options
context:
space:
mode:
authorbar@mysql.com <>2006-07-04 17:40:40 +0500
committerbar@mysql.com <>2006-07-04 17:40:40 +0500
commit385552013809d44fa6e1a020947f557254923b73 (patch)
treeda4ef218310ffe8d64ab2d02aa886916c6d53432 /sql/mysql_priv.h
parent61348cac0c5d7948fc45b0726ebd89145ac90277 (diff)
downloadmariadb-git-385552013809d44fa6e1a020947f557254923b73.tar.gz
WL#2928 Date Translation NRE
(implemented by by Josh Chamas)
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r--sql/mysql_priv.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h
index 4bbbb629d20..d231942bb7a 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -68,6 +68,23 @@ char* query_table_status(THD *thd,const char *db,const char *table_name);
extern CHARSET_INFO *system_charset_info, *files_charset_info ;
extern CHARSET_INFO *national_charset_info, *table_alias_charset;
+
+typedef struct my_locale_st
+{
+ const char *name;
+ const char *description;
+ const bool is_ascii;
+ TYPELIB *month_names;
+ TYPELIB *ab_month_names;
+ TYPELIB *day_names;
+ TYPELIB *ab_day_names;
+} MY_LOCALE;
+
+extern MY_LOCALE my_locale_en_US;
+extern MY_LOCALE *my_locales[];
+
+MY_LOCALE *my_locale_by_name(const char *name);
+
/***************************************************************************
Configuration parameters
****************************************************************************/
@@ -407,6 +424,7 @@ struct Query_cache_query_flags
ulong sql_mode;
ulong max_sort_length;
ulong group_concat_max_len;
+ MY_LOCALE *lc_time_names;
};
#define QUERY_CACHE_FLAGS_SIZE sizeof(Query_cache_query_flags)
#include "sql_cache.h"