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
fef87f20
Commit
fef87f20
authored
Jan 30, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix in SHOW GRANTS: REFERENCE -> REFERENCES
parent
14c052b3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Docs/manual.texi
Docs/manual.texi
+2
-0
sql/sql_acl.cc
sql/sql_acl.cc
+1
-1
No files found.
Docs/manual.texi
View file @
fef87f20
...
...
@@ -46892,6 +46892,8 @@ not yet 100% confident in this code.
Fixed bug in complicated join with @code{const} tables.
@item
Added internal safety checks for InnoDB.
@item
@code{SHOW GRANTS} now shows @code{REFERENCES} instead of @code{REFERENCE}.
@end itemize
@node News-3.23.47, News-3.23.46, News-3.23.48, News-3.23.x
sql/sql_acl.cc
View file @
fef87f20
...
...
@@ -2315,7 +2315,7 @@ uint get_column_grant(THD *thd, TABLE_LIST *table, Field *field)
static
const
char
*
command_array
[]
=
{
"SELECT"
,
"INSERT"
,
"UPDATE"
,
"DELETE"
,
"CREATE"
,
"DROP"
,
"RELOAD"
,
"SHUTDOWN"
,
"PROCESS"
,
"FILE"
,
"GRANT"
,
"REFERENCES"
,
"INDEX"
,
"ALTER"
};
static
int
command_lengths
[]
=
{
6
,
6
,
6
,
6
,
6
,
4
,
6
,
8
,
7
,
4
,
5
,
9
,
5
,
5
};
static
int
command_lengths
[]
=
{
6
,
6
,
6
,
6
,
6
,
4
,
6
,
8
,
7
,
4
,
5
,
10
,
5
,
5
};
int
mysql_show_grants
(
THD
*
thd
,
LEX_USER
*
lex_user
)
{
...
...
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