NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysql concurrency redux

David Mintz dmintz at davidmintz.org
Tue Feb 24 15:22:36 EST 2004


On Mon, 23 Feb 2004, felix zaslavskiy wrote:

> Should not you be doing update of lastmod at the same time you update
> string ? I think you may have a logical error that is why your script
> does not work.

Heh. I wish. It's a TIMESTAMP, which "provides a type that you can use to
automatically mark INSERT or UPDATE operations with the current date and
time" when you're not running in Max-DB mode.
(http://www.mysql.com/doc/en/DATETIME.html). You could explicitly set it
to now() but you don't have to.

---
David Mintz
http://davidmintz.org/

        "Anybody else got a problem with Webistics?" -- Sopranos 24:17



More information about the talk mailing list