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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
eea7dd0a
Commit
eea7dd0a
authored
Jul 01, 2007
by
igor@olga.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made test case platform independent.
parent
f93f44e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
mysql-test/r/events_bugs.result
mysql-test/r/events_bugs.result
+2
-0
mysql-test/t/events_bugs.test
mysql-test/t/events_bugs.test
+4
-2
No files found.
mysql-test/r/events_bugs.result
View file @
eea7dd0a
...
...
@@ -585,8 +585,10 @@ SET AUTOCOMMIT = 0;
SET @evname = 'ev_sched_1823';
SET @cnt = 0;
SELECT COUNT(*) INTO @cnt FROM test.event_log WHERE ev_nm = @evname;
IF @cnt <= 6 THEN
INSERT INTO test.event_log VALUES (NULL,@evname,@cnt+1,current_timestamp());
COMMIT;
END IF;
SELECT COUNT(*) INTO @cnt FROM test.event_log WHERE ev_nm = @evname;
INSERT INTO test.event_log VALUES (NULL,@evname,@cnt+1,current_timestamp());
ROLLBACK;
...
...
mysql-test/t/events_bugs.test
View file @
eea7dd0a
...
...
@@ -683,8 +683,10 @@ DO BEGIN
SET
@
evname
=
'ev_sched_1823'
;
SET
@
cnt
=
0
;
SELECT
COUNT
(
*
)
INTO
@
cnt
FROM
test
.
event_log
WHERE
ev_nm
=
@
evname
;
INSERT
INTO
test
.
event_log
VALUES
(
NULL
,
@
evname
,
@
cnt
+
1
,
current_timestamp
());
COMMIT
;
IF
@
cnt
<=
6
THEN
INSERT
INTO
test
.
event_log
VALUES
(
NULL
,
@
evname
,
@
cnt
+
1
,
current_timestamp
());
COMMIT
;
END
IF
;
SELECT
COUNT
(
*
)
INTO
@
cnt
FROM
test
.
event_log
WHERE
ev_nm
=
@
evname
;
INSERT
INTO
test
.
event_log
VALUES
(
NULL
,
@
evname
,
@
cnt
+
1
,
current_timestamp
());
ROLLBACK
;
...
...
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