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
cdad0890
Commit
cdad0890
authored
Apr 02, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postreview patch
sql/sql_view.cc: wording fixed
parent
9139be50
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
sql/sql_view.cc
sql/sql_view.cc
+4
-4
No files found.
sql/sql_view.cc
View file @
cdad0890
...
...
@@ -88,14 +88,14 @@ bool mysql_create_view(THD *thd,
#ifndef NO_EMBEDDED_ACCESS_CHECKS
/*
Privilege check for view creation:
- user ha
ve
CREATE VIEW privilege on view table
- user ha
ve
DROP privilege in case of ALTER VIEW or CREATE OR REPLACE
- user ha
s
CREATE VIEW privilege on view table
- user ha
s
DROP privilege in case of ALTER VIEW or CREATE OR REPLACE
VIEW
-
have
some (SELECT/UPDATE/INSERT/DELETE) privileges on columns of
-
user has
some (SELECT/UPDATE/INSERT/DELETE) privileges on columns of
underlying tables used on top of SELECT list (because it can be
(theoretically) updated, so it is enough to have UPDATE privilege on
them, for example)
-
have
SELECT privilege on columns used in expressions of VIEW select
-
user has
SELECT privilege on columns used in expressions of VIEW select
- for columns of underly tables used on top of SELECT list also will be
checked that we have not more privileges on correspondent column of view
table (i.e. user will not get some privileges by view creation)
...
...
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