Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AVG(ts) worked in MySQL 4.0, returning a value that could be inserted
directly into a datetime column, but not in 4.1 where it returns a floating point value that gets inserted into a datetime column as 0000-00-00. So we have to be a little more precise in specifying what we want.
- Loading branch information