Bug #8247 | inserting NULL values into a timestamp field produce the wrong data | ||
---|---|---|---|
Submitted: | 1 Feb 2005 20:55 | Modified: | 2 Feb 2005 8:55 |
Reporter: | Robby Bankston | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | Ver 3.23.54 for redhat-linux-gnu on i386 | OS: | Linux (Red Hat Linux release 9 (Shrike)) |
Assigned to: | CPU Architecture: | Any |
[1 Feb 2005 20:55]
Robby Bankston
[2 Feb 2005 8:55]
Alexander Keremidarski
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug. Support on using our products is available both free in our forums at http://forums.mysql.com and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/ Thank you for your interest in MySQL. Additional info: MySQL uses system clock for TIMESTAMP values as well as for NOW() and CURDATE() functions. Values are as consistant as the system clock is.
[2 Feb 2005 20:33]
Robby Bankston
Thank you Alexander for your information. You may indeed be correct. It may not be a bug. I can't see how that is the case though. If it were something wrong with the system time on the server, this same behavior would also appear in our logs (sendmail, apache, etc.) and it does not. Therefore I do not feel it is as a result of the system time being wrong. We are not explicity inserting the time as a string either. We are using NULL for that field (and according to the documentation that should be OK) and letting MySQL determine the correct time. Now if there was something with the table definition or table type that was incorrect, it would make more sense but I can't see how that would only affect it less than 1% of the time. I'll followup in a support forum but I still feel this is a MySQL bug. Thank you. Robby