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
e7a3ccf6
Commit
e7a3ccf6
authored
Jan 03, 2017
by
Horst Hunger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#25335897: Modified the year of the date value from 2017 to 2037 in first event.
parent
e00810b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/r/events_2.result
mysql-test/r/events_2.result
+2
-2
mysql-test/t/events_2.test
mysql-test/t/events_2.test
+1
-1
No files found.
mysql-test/r/events_2.result
View file @
e7a3ccf6
drop database if exists events_test;
create database events_test;
use events_test;
create event e_26 on schedule at '20
1
7-01-01 00:00:00' disable do set @a = 5;
create event e_26 on schedule at '20
3
7-01-01 00:00:00' disable do set @a = 5;
select db, name, body, definer, convert_tz(execute_at, 'UTC', 'SYSTEM'), on_completion from mysql.event;
db name body definer convert_tz(execute_at, 'UTC', 'SYSTEM') on_completion
events_test e_26 set @a = 5 root@localhost 20
1
7-01-01 00:00:00 DROP
events_test e_26 set @a = 5 root@localhost 20
3
7-01-01 00:00:00 DROP
drop event e_26;
create event e_26 on schedule at NULL disable do set @a = 5;
ERROR HY000: Incorrect AT value: 'NULL'
...
...
mysql-test/t/events_2.test
View file @
e7a3ccf6
...
...
@@ -13,7 +13,7 @@ use events_test;
# mysql.event intact checking end
#
create
event
e_26
on
schedule
at
'20
1
7-01-01 00:00:00'
disable
do
set
@
a
=
5
;
create
event
e_26
on
schedule
at
'20
3
7-01-01 00:00:00'
disable
do
set
@
a
=
5
;
select
db
,
name
,
body
,
definer
,
convert_tz
(
execute_at
,
'UTC'
,
'SYSTEM'
),
on_completion
from
mysql
.
event
;
drop
event
e_26
;
--
error
ER_WRONG_VALUE
...
...
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