Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
3c94c5b8
Commit
3c94c5b8
authored
Jan 03, 2020
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21416: main.events_bugs fails due to 2020-01-01 date
Moved to the next problematic year (2038).
parent
80c97f8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/events_bugs.result
mysql-test/r/events_bugs.result
+2
-2
mysql-test/t/events_bugs.test
mysql-test/t/events_bugs.test
+2
-2
No files found.
mysql-test/r/events_bugs.result
View file @
3c94c5b8
...
@@ -643,7 +643,7 @@ SET GLOBAL READ_ONLY = 1;
...
@@ -643,7 +643,7 @@ SET GLOBAL READ_ONLY = 1;
# Connection: u1_con (mysqltest_u1@localhost/events_test).
# Connection: u1_con (mysqltest_u1@localhost/events_test).
#
#
CREATE EVENT e1 ON SCHEDULE AT '20
20
-01-01 00:00:00' DO SET @a = 1;
CREATE EVENT e1 ON SCHEDULE AT '20
38
-01-01 00:00:00' DO SET @a = 1;
ERROR HY000: The MariaDB server is running with the --read-only option so it cannot execute this statement
ERROR HY000: The MariaDB server is running with the --read-only option so it cannot execute this statement
ALTER EVENT e1 COMMENT 'comment';
ALTER EVENT e1 COMMENT 'comment';
...
@@ -656,7 +656,7 @@ ERROR HY000: The MariaDB server is running with the --read-only option so it can
...
@@ -656,7 +656,7 @@ ERROR HY000: The MariaDB server is running with the --read-only option so it can
# Connection: root_con (root@localhost/events_test).
# Connection: root_con (root@localhost/events_test).
#
#
CREATE EVENT e1 ON SCHEDULE AT '20
20
-01-01 00:00:00' DO SET @a = 1;
CREATE EVENT e1 ON SCHEDULE AT '20
38
-01-01 00:00:00' DO SET @a = 1;
ALTER EVENT e1 COMMENT 'comment';
ALTER EVENT e1 COMMENT 'comment';
...
...
mysql-test/t/events_bugs.test
View file @
3c94c5b8
...
@@ -1033,7 +1033,7 @@ SET GLOBAL READ_ONLY = 1;
...
@@ -1033,7 +1033,7 @@ SET GLOBAL READ_ONLY = 1;
--
echo
--
echo
--
error
ER_OPTION_PREVENTS_STATEMENT
--
error
ER_OPTION_PREVENTS_STATEMENT
CREATE
EVENT
e1
ON
SCHEDULE
AT
'20
20
-01-01 00:00:00'
DO
SET
@
a
=
1
;
CREATE
EVENT
e1
ON
SCHEDULE
AT
'20
38
-01-01 00:00:00'
DO
SET
@
a
=
1
;
--
echo
--
echo
...
@@ -1057,7 +1057,7 @@ DROP EVENT e1;
...
@@ -1057,7 +1057,7 @@ DROP EVENT e1;
--
echo
--
echo
CREATE
EVENT
e1
ON
SCHEDULE
AT
'20
20
-01-01 00:00:00'
DO
SET
@
a
=
1
;
CREATE
EVENT
e1
ON
SCHEDULE
AT
'20
38
-01-01 00:00:00'
DO
SET
@
a
=
1
;
--
echo
--
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment