[MDEV-666] LP:1001340 - system_time_zone is set wrong Created: 2012-05-18 Updated: 2012-11-04 Resolved: 2012-11-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.28a |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jürgen Falch (Inactive) | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
In v5.5.23 on XP SP3, the server variable system_time _zone is set to a wrong value on server startup. Its value is "ope" (without the quotes), not a valid time zone designation. Note: I have an environment variable called TZ, whose current value is "CET" (without the quotes). The correct value would probably be CET or Europe/Berlin. |
| Comments |
| Comment by Jürgen Falch (Inactive) [ 2012-05-18 ] |
|
Re: system_time_zone is set wrong |
| Comment by Jürgen Falch (Inactive) [ 2012-05-18 ] |
|
Re: system_time_zone is set wrong |
| Comment by Vladislav Vaintroub [ 2012-05-18 ] |
|
Re: system_time_zone is set wrong #include <stdio.h> int main() It does not return 3 letter abbreviation for me, but instead W. Europe Standard Time I consider this ok, since the doc explicitely states that the result can be OS-dependent. However I'd rather avoid non-ASCIIs and stay English . So, I'm basically wondering if localized Windows would return localized results. |
| Comment by Jürgen Falch (Inactive) [ 2012-05-18 ] |
|
Re: [Bug 1001340] Re: system_time_zone is set wrong > It does not return 3 letter abbreviation for me, but instead > So, I'm basically wondering if localized Windows would return localized> results. If such localized Microsoft-specific timezone names are understood inside mysqld, (ie when setting system_time_zone), there is If not, please be so kind as to read my comments to the bug report, especially the second one. Best regards, – |
| Comment by Rasmus Johansson (Inactive) [ 2012-06-14 ] |
|
Launchpad bug id: 1001340 |
| Comment by Vladislav Vaintroub [ 2012-11-04 ] |
|
It is fixed for a while now, not sure why the bug was still open. What was fixed is a character set, so a german locale name does not get crippled . We decided on NOT Windows posixly/linuxly correct. This variable has only informational value |