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
be925796
Commit
be925796
authored
Jun 28, 2007
by
holyfoot/hf@mysql.com/hfmain.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
events_bugs.test didn't remove all the objects it created
what caused some consequitive tests failures
parent
960f8c02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/r/events_bugs.result
mysql-test/r/events_bugs.result
+3
-1
mysql-test/t/events_bugs.test
mysql-test/t/events_bugs.test
+2
-1
No files found.
mysql-test/r/events_bugs.result
View file @
be925796
...
...
@@ -571,10 +571,11 @@ CREATE USER evtest1@localhost;
SET PASSWORD FOR evtest1@localhost = password('ev1');
REVOKE ALL PRIVILEGES, GRANT OPTION FROM evtest1@localhost;
GRANT create, insert, select, event ON events_test.* TO evtest1@localhost;
GRANT select,insert ON TEST.* TO evtest1@lcalhost;
GRANT select,insert ON TEST.* TO evtest1@l
o
calhost;
SHOW GRANTS FOR evtest1@localhost;
Grants for evtest1@localhost
GRANT USAGE ON *.* TO 'evtest1'@'localhost' IDENTIFIED BY PASSWORD '*3170F3644E31580C25DE4A08F4C07CC9A2D40C32'
GRANT SELECT, INSERT ON `TEST`.* TO 'evtest1'@'localhost'
GRANT SELECT, INSERT, CREATE, EVENT ON `events_test`.* TO 'evtest1'@'localhost'
connection e1;
USE events_test;
...
...
@@ -591,6 +592,7 @@ INSERT INTO test.event_log VALUES (NULL,@evname,@cnt+1,current_timestamp());
ROLLBACK;
END;|
connection default;
DROP EVENT ev_sched_1823;
DROP USER evtest1@localhost;
USE test;
=====================================================================================
...
...
mysql-test/t/events_bugs.test
View file @
be925796
...
...
@@ -668,7 +668,7 @@ CREATE USER evtest1@localhost;
SET
PASSWORD
FOR
evtest1
@
localhost
=
password
(
'ev1'
);
REVOKE
ALL
PRIVILEGES
,
GRANT
OPTION
FROM
evtest1
@
localhost
;
GRANT
create
,
insert
,
select
,
event
ON
events_test
.*
TO
evtest1
@
localhost
;
GRANT
select
,
insert
ON
TEST
.*
TO
evtest1
@
lcalhost
;
GRANT
select
,
insert
ON
TEST
.*
TO
evtest1
@
l
o
calhost
;
SHOW
GRANTS
FOR
evtest1
@
localhost
;
--
echo
connection
e1
;
...
...
@@ -693,6 +693,7 @@ DELIMITER ;|
--
sleep
6
--
echo
connection
default
;
DROP
EVENT
ev_sched_1823
;
connection
default
;
DROP
USER
evtest1
@
localhost
;
...
...
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