PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_Table » Bug #2596

Native MySQL timestamps needed

Details

Request #2596Native MySQL timestamps needed
Submitted2004-10-23 06:28 UTC
Fromrls at tamu dot edu
Assignedpmjones
StatusWont fix
PackageDB_Table
PHP Version4.3.8
OSIrrelevant
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.