In my mysql 4.4 table definition the default attributes are (ON
UPDATE CURRENT_TIMESTAMP). Reading the manual my understanding is
this is saying that the auto timestamp update feature is active. The
manual does not say what the trigger is to make the timestamp in the
row to be bumped to the current timestamp. I have noticed that the
timestamp field is only bumped when I update a field in the row. I
would like it to be auto bumped every time the row is selected/read.
Is there a way to do this without creating a timestamp from date in
my php code and then updating the row instead of reading the row?
The final goal is to auto bump the timestamp every time the user
logs on.


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to