WL#3698: Events: execution in local time zone

Affects: Server-5.1   —   Status: Complete

Do time computations, and execute the event, in the "event time zone", a time
zone that was associated with the event.  Such event time zone is the session
time zone that was in effect at event creation time.

Currently, all datetime values specified in CREATE EVENT are converted to UTC
time zone internally.  Because the information about the original time zone is
lost, time computations do not honor local Daylight Saving Time changes, thus
time intervals like '1 DAY' behave unnaturally (subject of a BUG#16420).

The solution is to perform time computations in the time zone associated with
the event.  Event execution should also happen in the event time zone, so that
SELECT NOW() in the event body will return the expected string.