diff options
author | bar@mysql.com <> | 2007-04-09 17:58:56 +0500 |
---|---|---|
committer | bar@mysql.com <> | 2007-04-09 17:58:56 +0500 |
commit | 4341df8cf65b6a722e9675e2027cc027c63110b7 (patch) | |
tree | 31816e79a42b952d779c0c0b31704e23a4947170 /sql/mysql_priv.h | |
parent | cec17aa0ba1ff3252efaadc0e52ee3a90eba37cd (diff) | |
download | mariadb-git-4341df8cf65b6a722e9675e2027cc027c63110b7.tar.gz |
Bug#22648 LC_TIME_NAMES: Setting GLOBAL has no effect
Problem: setting/displaying @@LC_TIME_NAMES didn't distinguish between
GLOBAL and SESSION variable types - always SESSION variable
was set/shonw.
Fix: set either global or session value.
Also, "mysqld --lc-time-names" was added to set "global default" value.
Diffstat (limited to 'sql/mysql_priv.h')
-rw-r--r-- | sql/mysql_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/mysql_priv.h b/sql/mysql_priv.h index de567eacbeb..f9aa8441a27 100644 --- a/sql/mysql_priv.h +++ b/sql/mysql_priv.h @@ -149,6 +149,7 @@ typedef struct my_locale_st extern MY_LOCALE my_locale_en_US; extern MY_LOCALE *my_locales[]; +extern MY_LOCALE *my_default_lc_time_names; MY_LOCALE *my_locale_by_name(const char *name); MY_LOCALE *my_locale_by_number(uint number); |