Home » Database » DB_Table » Bug #2596
Native MySQL timestamps needed
Details
| Request #2596 | Native MySQL timestamps needed |
|---|---|
| Submitted | 2004-10-23 06:28 UTC |
| From | rls at tamu dot edu |
| Assigned | pmjones |
| Status | Wont fix |
| Package | DB_Table |
| PHP Version | 4.3.8 |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-10-23 06:28 UTC] rls at tamu dot edu
Description:
------------
MySQL has a native timestamp data type, whose functionality cannot be emulated by other data types: when the row is modified, even if the field is not assigned to, the timestamp will be updated (well, technically only the first such field).
This is really nice because it frees me from having to explicitly set this field in every update/insert.