Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: DBI mysql question

by markov (Scribe)
on Mar 03, 2004 at 10:01 UTC ( #333499=note: print w/replies, xml ) Need Help??

in reply to DBI mysql question

The specs say: the FIRST timestamp is automatically updated. It shows any change in the fields, like mtime. So you may consider adding a second timestamp to the field, which contains only explicitly updated stamps.

The other thing what I have found to work is by adding logged to the update:

UPDATE tasks SET quota = quote -1, logged = logged WHERE member_id = ?
It's a bit of a hack...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333499]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2016-10-23 00:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.