|
|
0f48f2 |
From 3c94c5b8fab0c3bb0febe62d72b89bc8d51c3932 Mon Sep 17 00:00:00 2001
|
|
|
0f48f2 |
From: Oleksandr Byelkin <sanja@mariadb.com>
|
|
|
0f48f2 |
Date: Fri, 3 Jan 2020 10:25:46 +0100
|
|
|
0f48f2 |
Subject: [PATCH] MDEV-21416: main.events_bugs fails due to 2020-01-01 date
|
|
|
0f48f2 |
|
|
|
0f48f2 |
Moved to the next problematic year (2038).
|
|
|
0f48f2 |
---
|
|
|
0f48f2 |
mysql-test/r/events_bugs.result | 4 ++--
|
|
|
0f48f2 |
mysql-test/t/events_bugs.test | 4 ++--
|
|
|
0f48f2 |
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
0f48f2 |
|
|
|
0f48f2 |
diff --git a/mysql-test/r/events_bugs.result b/mysql-test/r/events_bugs.result
|
|
|
0f48f2 |
index 30bc4f89d8ca..1729862dba88 100644
|
|
|
0f48f2 |
--- a/mysql-test/r/events_bugs.result
|
|
|
0f48f2 |
+++ b/mysql-test/r/events_bugs.result
|
|
|
0f48f2 |
@@ -643,7 +643,7 @@ SET GLOBAL READ_ONLY = 1;
|
|
|
0f48f2 |
# Connection: u1_con (mysqltest_u1@localhost/events_test).
|
|
|
0f48f2 |
#
|
|
|
0f48f2 |
|
|
|
0f48f2 |
-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
+CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
ERROR HY000: The MariaDB server is running with the --read-only option so it cannot execute this statement
|
|
|
0f48f2 |
|
|
|
0f48f2 |
ALTER EVENT e1 COMMENT 'comment';
|
|
|
0f48f2 |
@@ -656,7 +656,7 @@ ERROR HY000: The MariaDB server is running with the --read-only option so it can
|
|
|
0f48f2 |
# Connection: root_con (root@localhost/events_test).
|
|
|
0f48f2 |
#
|
|
|
0f48f2 |
|
|
|
0f48f2 |
-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
+CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
|
|
|
0f48f2 |
ALTER EVENT e1 COMMENT 'comment';
|
|
|
0f48f2 |
|
|
|
0f48f2 |
diff --git a/mysql-test/t/events_bugs.test b/mysql-test/t/events_bugs.test
|
|
|
0f48f2 |
index dc31556998af..aca1f144ec3f 100644
|
|
|
0f48f2 |
--- a/mysql-test/t/events_bugs.test
|
|
|
0f48f2 |
+++ b/mysql-test/t/events_bugs.test
|
|
|
0f48f2 |
@@ -1033,7 +1033,7 @@ SET GLOBAL READ_ONLY = 1;
|
|
|
0f48f2 |
--echo
|
|
|
0f48f2 |
|
|
|
0f48f2 |
--error ER_OPTION_PREVENTS_STATEMENT
|
|
|
0f48f2 |
-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
+CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
|
|
|
0f48f2 |
--echo
|
|
|
0f48f2 |
|
|
|
0f48f2 |
@@ -1057,7 +1057,7 @@ DROP EVENT e1;
|
|
|
0f48f2 |
|
|
|
0f48f2 |
--echo
|
|
|
0f48f2 |
|
|
|
0f48f2 |
-CREATE EVENT e1 ON SCHEDULE AT '2020-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
+CREATE EVENT e1 ON SCHEDULE AT '2038-01-01 00:00:00' DO SET @a = 1;
|
|
|
0f48f2 |
|
|
|
0f48f2 |
--echo
|
|
|
0f48f2 |
|