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...


Comment on Re: DBI mysql question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2015-07-05 20:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls