Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The value of NOW() and friends is fixed during the execution of a statement. When other threads update the group record and increase group_mtime, the current thread might see a group_mtime greater than its NOW(). The calculations sometimes produced negative delta values and overflowed when added to a UNSIGNED type. Make sure we never decrease group_mtime.
- Loading branch information