1 |
commit: fb00ac7f844cce16f64e3b9d602c0907840bd32e |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 20 18:28:17 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 20 18:28:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=fb00ac7f |
7 |
|
8 |
Add 20018_all_mysql-8.0.19-fix-events_bugs-test.patch |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
20018_all_mysql-8.0.19-fix-events_bugs-test.patch | 42 +++++++++++++++++++++++ |
13 |
1 file changed, 42 insertions(+) |
14 |
|
15 |
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 |
16 |
new file mode 100644 |
17 |
index 0000000..6a737f2 |
18 |
--- /dev/null |
19 |
+++ b/20018_all_mysql-8.0.19-fix-events_bugs-test.patch |
20 |
@@ -0,0 +1,42 @@ |
21 |
+https://bugs.mysql.com/bug.php?id=98107 |
22 |
+ |
23 |
+--- a/mysql-test/r/events_bugs.result |
24 |
++++ b/mysql-test/r/events_bugs.result |
25 |
+@@ -647,7 +647,7 @@ SET GLOBAL READ_ONLY = 1; |
26 |
+ # Connection: u1_con (mysqltest_u1@localhost/events_test). |
27 |
+ # |
28 |
+ |
29 |
+-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; |
30 |
++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; |
31 |
+ ERROR HY000: The MySQL server is running with the --read-only option so it cannot execute this statement |
32 |
+ |
33 |
+ ALTER EVENT e1 COMMENT 'comment'; |
34 |
+@@ -660,7 +660,7 @@ ERROR HY000: The MySQL server is running with the --read-only option so it canno |
35 |
+ # Connection: root_con (root@localhost/events_test). |
36 |
+ # |
37 |
+ |
38 |
+-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; |
39 |
++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; |
40 |
+ |
41 |
+ ALTER EVENT e1 COMMENT 'comment'; |
42 |
+ |
43 |
+--- a/mysql-test/t/events_bugs.test |
44 |
++++ b/mysql-test/t/events_bugs.test |
45 |
+@@ -1033,7 +1033,7 @@ SET GLOBAL READ_ONLY = 1; |
46 |
+ --echo |
47 |
+ |
48 |
+ --error ER_OPTION_PREVENTS_STATEMENT |
49 |
+-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; |
50 |
++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; |
51 |
+ |
52 |
+ --echo |
53 |
+ |
54 |
+@@ -1057,7 +1057,7 @@ DROP EVENT e1; |
55 |
+ |
56 |
+ --echo |
57 |
+ |
58 |
+-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1; |
59 |
++CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1; |
60 |
+ |
61 |
+ --echo |
62 |
+ |