Bug #71754 | TIMESTAMP approacing End Of Lifetime :-) | ||
---|---|---|---|
Submitted: | 17 Feb 2014 19:48 | Modified: | 17 Feb 2014 22:27 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[17 Feb 2014 19:48]
Peter Laursen
[17 Feb 2014 20:17]
Peter Laursen
Besides .. with recent changes I don't think there is much idea in keeping TIMESTAMP and DATETIME as separate data types. They now do the same (with the sole difference that DATETIME is stored in client's timezone, whileTIMESTAMP is stored in UTC). All this should have been cleaned up IMO when DATETIMEs had added ON UPDATE functionality (in some early 5.6x release) But I am not able to decide how this will affect Linux/Unix OS 'timeprints' and the mapping of TIMESTAMP to same as well as functions casting from one to another. No matter what: a TIMESTAMP/unix_timestamp based on a 32 bit calculation/algorithm is no less than a joke today!
[17 Feb 2014 22:27]
MySQL Verification Team
Thank you for the bug report.
[18 Feb 2014 7:21]
MySQL Verification Team
http://bugs.mysql.com/bug.php?id=12654 (64-bit unix timestamp is not supported in MySQL functions) http://bugs.mysql.com/bug.php?id=24625 (from_unixtime() for 64bits system)