Bug #1326 TIMESTAMP Field Bug
| Submitted: | 18 Sep 2003 0:27 | Modified: | 18 Sep 2003 4:03 |
|---|---|---|---|
| Reporter: | Mohammad Masumi | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: MyISAM storage engine | Severity: | S2 (Serious) |
| Version: | 4.0.15 | OS: | Linux (RedHat 7.3) |
| Assigned to: | CPU Architecture: | Any |
[18 Sep 2003 0:27]
Mohammad Masumi
[18 Sep 2003 4:03]
Indrek Siitan
This is documented behaviour: http://www.mysql.com/doc/en/DATETIME.html Quote from the page above: "The TIMESTAMP column type provides a type that you can use to automatically mark INSERT or UPDATE operations with the current date and time. If you have multiple TIMESTAMP columns, only the first one is updated automatically." To update the other timestamps, you need to to specify it in the update statement and assign a NULL value to it.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.