Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 about the Monastery: (9)
As of 2014-07-10 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (215 votes), past polls