You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#29159867: MAIN.MYSQLDUMP FAILS WITH EVENT CREATED IN THE PAST
main.mysqldump started failing as we entered 2019 as it contained
the creation of an event starting 31/12/2018, which now is in the
past.
Fix this by kicking the can 11 years down the road...
Change-Id: I9a19d218dba117595af587f8fa9de86554fc738c
ee1 UTC CREATE DEFINER=`root`@`localhost` EVENT `ee1` ON SCHEDULE AT '2035-12-31 20:01:23' ON COMPLETION NOT PRESERVE ENABLE DO set @a=5 latin1 latin1_swedish_ci latin1_swedish_ci
4213
-
create event ee2 on schedule at '2018-12-31 21:01:23' do set @a=5;
4213
+
create event ee2 on schedule at '2029-12-31 21:01:23' do set @a=5;
4214
4214
create event ee3 on schedule at '2030-12-31 22:01:23' do set @a=5;
4215
4215
show events;
4216
4216
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
4217
4217
second ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
4218
-
second ee2 root@localhost UTC ONE TIME 2018-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
4218
+
second ee2 root@localhost UTC ONE TIME 2029-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
4219
4219
second ee3 root@localhost UTC ONE TIME 2030-12-31 22:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
4220
4220
drop database second;
4221
4221
create database third;
4222
4222
use third;
4223
4223
show events;
4224
4224
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
4225
4225
third ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
4226
-
third ee2 root@localhost UTC ONE TIME 2018-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
4226
+
third ee2 root@localhost UTC ONE TIME 2029-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
4227
4227
third ee3 root@localhost UTC ONE TIME 2030-12-31 22:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci latin1_swedish_ci
0 commit comments