diff options
-rw-r--r-- | 20018_all_mysql-8.0.19-fix-events_bugs-test.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/20018_all_mysql-8.0.19-fix-events_bugs-test.patch b/20018_all_mysql-8.0.19-fix-events_bugs-test.patch new file mode 100644 index 0000000..6a737f2 --- /dev/null +++ b/20018_all_mysql-8.0.19-fix-events_bugs-test.patch @@ -0,0 +1,42 @@ +https://bugs.mysql.com/bug.php?id=98107 + +--- a/mysql-test/r/events_bugs.result ++++ b/mysql-test/r/events_bugs.result +@@ -647,7 +647,7 @@ SET GLOBAL READ_ONLY = 1; + # Connection: u1_con (mysqltest_u1@localhost/events_test). + # + +-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; ++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; + ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement + + ALTER EVENT e1 COMMENT 'comment'; +@@ -660,7 +660,7 @@ ERROR HY000: The MySQL server is running with the --read-only option so it canno + # Connection: root_con (root@localhost/events_test). + # + +-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; ++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; + + ALTER EVENT e1 COMMENT 'comment'; + +--- a/mysql-test/t/events_bugs.test ++++ b/mysql-test/t/events_bugs.test +@@ -1033,7 +1033,7 @@ SET GLOBAL READ_ONLY = 1; + --echo + + --error ER_OPTION_PREVENTS_STATEMENT +-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; ++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; + + --echo + +@@ -1057,7 +1057,7 @@ DROP EVENT e1; + + --echo + +-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; ++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; + + --echo + |