List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:March 19 2002 12:28pm
Subject:Leap seconds
View as plain text  
matt,
Tuesday, March 19, 2002, 8:31:08 AM, you wrote:

Try to install the official MySQL binary distribution (3.23.49a) from
www.mysql.com and check timestamp there. There was some bugs about
timezones in old version of MySQL/glibc.

m>Description:
m>         A timestamp value selected back is 38 seconds later than what
m>         was inserted.
m>How-To-Repeat:
m>         ln -s /usr/share/zoneinfo/right/US/Pacific /etc/localtime
m>         mysql test
m>         mysql> create table teststamps (stamp timestamp);
m>         mysql> insert teststamps values ("20020101000000");
m>         mysql> select * from teststamps;
m>         +----------------+
m>         | stamp          |
m>         +----------------+
m>         | 20020101000038 |
m>         +----------------+
m>         1 row in set (0.00 sec)

m>Fix:
m>         Please tell me.



-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com


Thread
Leap secondsEgor Egorov19 Mar