Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333499]
help
Chatterbox?
[Corion]: (or how/where to patch AnyEvent::HTTP or LWP::UserAgent to take control of both the callstack and the data transfer)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2016-12-08 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (137 votes). Check out past polls.