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
6b90352e
Commit
6b90352e
authored
May 14, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More post-merge fixes.
parent
aa57e40d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
mysql-test/r/ps_grant.result
mysql-test/r/ps_grant.result
+5
-4
mysql-test/t/ps_grant.test
mysql-test/t/ps_grant.test
+7
-4
No files found.
mysql-test/r/ps_grant.result
View file @
6b90352e
...
@@ -75,10 +75,6 @@ commit ;
...
@@ -75,10 +75,6 @@ commit ;
show grants for second_user@localhost ;
show grants for second_user@localhost ;
ERROR 42000: There is no such grant defined for user 'second_user' on host 'localhost'
ERROR 42000: There is no such grant defined for user 'second_user' on host 'localhost'
drop database mysqltest;
drop database mysqltest;
prepare stmt4 from ' show full processlist ';
execute stmt4;
Id User Host db Command Time State Info
number root localhost test Query time NULL show full processlist
prepare stmt3 from ' grant all on test.t1 to drop_user@localhost
prepare stmt3 from ' grant all on test.t1 to drop_user@localhost
identified by ''looser'' ';
identified by ''looser'' ';
ERROR HY000: This command is not supported in the prepared statement protocol yet
ERROR HY000: This command is not supported in the prepared statement protocol yet
...
@@ -91,3 +87,8 @@ revoke all privileges on test.t1 from drop_user@localhost ;
...
@@ -91,3 +87,8 @@ revoke all privileges on test.t1 from drop_user@localhost ;
prepare stmt3 from ' drop user drop_user@localhost ';
prepare stmt3 from ' drop user drop_user@localhost ';
ERROR HY000: This command is not supported in the prepared statement protocol yet
ERROR HY000: This command is not supported in the prepared statement protocol yet
drop user drop_user@localhost;
drop user drop_user@localhost;
prepare stmt4 from ' show full processlist ';
execute stmt4;
Id User Host db Command Time State Info
number root localhost test Query time NULL show full processlist
deallocate prepare stmt4;
mysql-test/t/ps_grant.test
View file @
6b90352e
...
@@ -112,10 +112,6 @@ show grants for second_user@localhost ;
...
@@ -112,10 +112,6 @@ show grants for second_user@localhost ;
drop
database
mysqltest
;
drop
database
mysqltest
;
# Tested here simply so it is not tested with embedded server
prepare
stmt4
from
' show full processlist '
;
--
replace_column
1
number
6
time
3
localhost
execute
stmt4
;
## grant/revoke + drop user
## grant/revoke + drop user
--
error
1295
--
error
1295
...
@@ -131,3 +127,10 @@ revoke all privileges on test.t1 from drop_user@localhost ;
...
@@ -131,3 +127,10 @@ revoke all privileges on test.t1 from drop_user@localhost ;
prepare
stmt3
from
' drop user drop_user@localhost '
;
prepare
stmt3
from
' drop user drop_user@localhost '
;
drop
user
drop_user
@
localhost
;
drop
user
drop_user
@
localhost
;
# This test must be the last one, otherwise it may produce extra
# rows in the processlist under high load.
# Tested here simply so it is not tested with embedded server
prepare
stmt4
from
' show full processlist '
;
--
replace_column
1
number
6
time
3
localhost
execute
stmt4
;
deallocate
prepare
stmt4
;
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