Bug #13900 | DATETIME data changes after inserting a new row in a InnoDB table | ||
---|---|---|---|
Submitted: | 10 Oct 2005 15:54 | Modified: | 20 Oct 2005 20:38 |
Reporter: | Thoralf Rickert | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.0.13-rc | OS: | Linux (Linux Debian Sarge) |
Assigned to: | Marko Mäkelä | CPU Architecture: | Any |
[10 Oct 2005 15:54]
Thoralf Rickert
[10 Oct 2005 16:19]
MySQL Verification Team
mysql> select * from store; +----+---------+---------------------+ | id | website | exists_since_time | +----+---------+---------------------+ | 1 | | 2002-04-01 00:00:00 | | 2 | | 720-24-47 77:58:08 | | 3 | NULL | NULL | | 4 | | 1999-02-02 00:00:00 | | 5 | | 2000-04-01 00:00:00 | | 6 | NULL | NULL | +----+---------+---------------------+ 6 rows in set (0.00 sec) ------------------------------------- mysql> select * from store; +----+---------+---------------------+ | id | website | exists_since_time | +----+---------+---------------------+ | 1 | | 2002-04-01 00:00:00 | | 2 | | 1995-01-05 00:00:00 | | 3 | NULL | NULL | | 4 | | 1999-02-02 00:00:00 | | 5 | | 2000-04-01 00:00:00 | +----+---------+---------------------+ 5 rows in set (0.00 sec) mysql> select version(); +-----------------+ | version() | +-----------------+ | 5.0.15-rc-debug | +-----------------+ 1 row in set (0.00 sec)
[10 Oct 2005 21:54]
Heikki Tuuri
I think I have found the bug.
[14 Oct 2005 20:16]
Heikki Tuuri
Marko has now emailed the patch to Elliot.
[17 Oct 2005 15:34]
Elliot Murphy
Tried applying patch on Friday, saw test failures, emailed to Marko today. Also rerunning tests.
[17 Oct 2005 18:11]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/31185
[17 Oct 2005 18:17]
Elliot Murphy
Tried again with a fresh tree, tests are passing now. Will push in a couple of hours, fix will be available for 5.0.16
[18 Oct 2005 18:49]
Elliot Murphy
Pushed for 5.0.16
[20 Oct 2005 20:38]
Paul DuBois
Noted in 5.0.16 changelog.