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
32853b9f
Commit
32853b9f
authored
Feb 13, 2008
by
mkindahl@dl145h.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing non-deterministic tests from events_scheduling test.
parent
b1fadc4c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
mysql-test/r/events_scheduling.result
mysql-test/r/events_scheduling.result
+0
-5
mysql-test/t/events_scheduling.test
mysql-test/t/events_scheduling.test
+0
-4
No files found.
mysql-test/r/events_scheduling.result
View file @
32853b9f
...
@@ -78,11 +78,6 @@ FROM INFORMATION_SCHEMA.EVENTS
...
@@ -78,11 +78,6 @@ FROM INFORMATION_SCHEMA.EVENTS
WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='event_2';
WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='event_2';
IF(TIME_TO_SEC(TIMEDIFF(ENDS,STARTS))=6, 'OK', 'ERROR')
IF(TIME_TO_SEC(TIMEDIFF(ENDS,STARTS))=6, 'OK', 'ERROR')
OK
OK
SELECT IF(LAST_EXECUTED-ENDS <= 0, 'OK', 'ERROR')
FROM INFORMATION_SCHEMA.EVENTS
WHERE EVENT_SCHEMA=DATABASE() AND EVENT_NAME='event_2';
IF(LAST_EXECUTED-ENDS <= 0, 'OK', 'ERROR')
OK
"Already dropped because ended. Therefore an error."
"Already dropped because ended. Therefore an error."
DROP EVENT event_3;
DROP EVENT event_3;
ERROR HY000: Unknown event 'event_3'
ERROR HY000: Unknown event 'event_3'
...
...
mysql-test/t/events_scheduling.test
View file @
32853b9f
...
@@ -87,10 +87,6 @@ SELECT IF(TIME_TO_SEC(TIMEDIFF(ENDS,STARTS))=6, 'OK', 'ERROR')
...
@@ -87,10 +87,6 @@ SELECT IF(TIME_TO_SEC(TIMEDIFF(ENDS,STARTS))=6, 'OK', 'ERROR')
FROM
INFORMATION_SCHEMA
.
EVENTS
FROM
INFORMATION_SCHEMA
.
EVENTS
WHERE
EVENT_SCHEMA
=
DATABASE
()
AND
EVENT_NAME
=
'event_2'
;
WHERE
EVENT_SCHEMA
=
DATABASE
()
AND
EVENT_NAME
=
'event_2'
;
SELECT
IF
(
LAST_EXECUTED
-
ENDS
<=
0
,
'OK'
,
'ERROR'
)
FROM
INFORMATION_SCHEMA
.
EVENTS
WHERE
EVENT_SCHEMA
=
DATABASE
()
AND
EVENT_NAME
=
'event_2'
;
--
echo
"Already dropped because ended. Therefore an error."
--
echo
"Already dropped because ended. Therefore an error."
--
error
ER_EVENT_DOES_NOT_EXIST
--
error
ER_EVENT_DOES_NOT_EXIST
DROP
EVENT
event_3
;
DROP
EVENT
event_3
;
...
...
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