On 10-Sep-2013 12:14 AM, Kevin Vinsen wrote:
I've just manually added it to the column and it works fine now. Should I
look for all timestamps that can be null and apply ON UPDATE
CURRENT_TIMESTAMP?

Yes; now that I look at it, the only other one is result.mod_time.

I'll change the declaration of those fields to

mod_time timestamp default current_timestamp on update current_timestamp,

which works on MySQL 5.1 and 5.5; I assume it'll work on 5.6 also.

-- David
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to