Peter Zaitsev writes:
> Hello Sinisa,
>
> Tuesday, August 07, 2001, 4:48:56 PM, you wrote:
>
> 1) SUSE. Destributions does not have TZ variable set by default. And
> the idea is it worked quite well wothout it with .39
> 2) The strange thing is why settng TZ makes mysql to print correct
> timezone in variables but still produces the wrong time ?
>
>
> --
> Best regards,
> Peter mailto:[EMAIL PROTECTED]
Hello Pjotr,
We did not changed it recently. If you take a look at Changelog, you
will see that nothing like that was introduced.
mysqld.cc has the following code at the beginning :
tzset();
and that is all.
Regarding a strange thing when you set TZ that it changes time, this
is /bin/sh doing by help of kernel, of course.
Check it out. Change TZ and watch your time change.
We truly can't do anything about it. We must use OS C API functions
for such things. Anyway, all those functions we use are POSIX compliant.
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php