1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

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.
This commit is contained in:
bar@mysql.com
2007-04-09 17:58:56 +05:00
parent cec17aa0ba
commit 4341df8cf6
8 changed files with 158 additions and 5 deletions

View File

@@ -343,7 +343,6 @@ void THD::init(void)
total_warn_count= 0;
update_charset();
bzero((char *) &status_var, sizeof(status_var));
variables.lc_time_names = &my_locale_en_US;
}