PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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.