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
7454f1c5
Commit
7454f1c5
authored
Oct 15, 2015
by
Sergei Golubchik
Committed by
Sergey Vojtovich
Oct 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix events_1 test for October 2015
parent
534e4247
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
mysql-test/r/events_1.result
mysql-test/r/events_1.result
+2
-1
mysql-test/t/events_1.test
mysql-test/t/events_1.test
+2
-1
No files found.
mysql-test/r/events_1.result
View file @
7454f1c5
...
@@ -115,7 +115,8 @@ create table t_event3 (a int, b float);
...
@@ -115,7 +115,8 @@ create table t_event3 (a int, b float);
drop event if exists event3;
drop event if exists event3;
Warnings:
Warnings:
Note 1305 Event event3 does not exist
Note 1305 Event event3 does not exist
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("20251010", interval 5 day)
comment "portokala_comment" DO insert into t_event3 values (unix_timestamp(), rand());
select count(*) from t_event3;
select count(*) from t_event3;
count(*)
count(*)
0
0
...
...
mysql-test/t/events_1.test
View file @
7454f1c5
...
@@ -127,7 +127,8 @@ drop event existant;
...
@@ -127,7 +127,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
(
"20251010"
,
interval
5
day
)
comment
"portokala_comment"
DO
insert
into
t_event3
values
(
unix_timestamp
(),
rand
());
let
$wait_condition
=
SELECT
count
(
*
)
=
0
from
t_event3
;
let
$wait_condition
=
SELECT
count
(
*
)
=
0
from
t_event3
;
--
source
include
/
wait_condition
.
inc
--
source
include
/
wait_condition
.
inc
select
count
(
*
)
from
t_event3
;
select
count
(
*
)
from
t_event3
;
...
...
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