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
26ede4b6
Commit
26ede4b6
authored
Feb 22, 2008
by
hhunger@hh-nb.hungers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Inserted changes from the review of bug#32664.
parent
0c6e1743
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/t/events_1.test
mysql-test/t/events_1.test
+2
-1
mysql-test/t/events_2.test
mysql-test/t/events_2.test
+2
-2
No files found.
mysql-test/t/events_1.test
View file @
26ede4b6
...
@@ -124,6 +124,8 @@ drop event existant;
...
@@ -124,6 +124,8 @@ drop event existant;
create
table
t_event3
(
a
int
,
b
float
);
create
table
t_event3
(
a
int
,
b
float
);
drop
event
if
exists
event3
;
drop
event
if
exists
event3
;
create
event
event3
on
schedule
every
50
+
10
minute
starts
date_add
(
"20100101"
,
interval
5
minute
)
ends
date_add
(
"20151010"
,
interval
5
day
)
comment
"portokala_comment"
DO
insert
into
t_event3
values
(
unix_timestamp
(),
rand
());
create
event
event3
on
schedule
every
50
+
10
minute
starts
date_add
(
"20100101"
,
interval
5
minute
)
ends
date_add
(
"20151010"
,
interval
5
day
)
comment
"portokala_comment"
DO
insert
into
t_event3
values
(
unix_timestamp
(),
rand
());
let
$wait_condition
=
SELECT
count
(
*
)
=
0
from
t_event3
;
--
source
include
/
wait_condition
.
inc
select
count
(
*
)
from
t_event3
;
select
count
(
*
)
from
t_event3
;
drop
event
event3
;
drop
event
event3
;
drop
table
t_event3
;
drop
table
t_event3
;
...
@@ -308,7 +310,6 @@ SELECT event_name FROM INFORMATION_SCHEMA.events;
...
@@ -308,7 +310,6 @@ SELECT event_name FROM INFORMATION_SCHEMA.events;
SHOW CREATE EVENT intact_check;
SHOW CREATE EVENT intact_check;
--error ER_EVENT_DOES_NOT_EXIST
--error ER_EVENT_DOES_NOT_EXIST
DROP EVENT no_such_event;
DROP EVENT no_such_event;
#--error ER_CANNOT_LOAD_FROM_TABLE peplaced by:
--error ER_EVENT_STORE_FAILED
--error ER_EVENT_STORE_FAILED
CREATE EVENT intact_check_1 ON SCHEDULE EVERY 5 HOUR DO SELECT 5;
CREATE EVENT intact_check_1 ON SCHEDULE EVERY 5 HOUR DO SELECT 5;
--error ER_EVENT_DOES_NOT_EXIST
--error ER_EVENT_DOES_NOT_EXIST
...
...
mysql-test/t/events_2.test
View file @
26ede4b6
...
@@ -196,9 +196,9 @@ drop event e1;
...
@@ -196,9 +196,9 @@ drop event e1;
# Test wrong syntax
# Test wrong syntax
#
#
--
error
1102
--
error
ER_WRONG_DB_NAME
SHOW
EVENTS
FROM
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
;
SHOW
EVENTS
FROM
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
;
--
error
1102
--
error
ER_WRONG_DB_NAME
SHOW
EVENTS
FROM
``
;
SHOW
EVENTS
FROM
``
;
SHOW
EVENTS
FROM
`events\\test`
;
SHOW
EVENTS
FROM
`events\\test`
;
...
...
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